Struct BlockFailedDispenseEvent
pub struct BlockFailedDispenseEvent<'a> {
pub dimension: &'a str,
pub pos: [i32; 3],
pub item: &'a str,
}Expand description
What Hooks::block_failed_dispense is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§dimension: &'a str§pos: [i32; 3]§item: &'a strAuto Trait Implementations§
impl<'a> Freeze for BlockFailedDispenseEvent<'a>
impl<'a> RefUnwindSafe for BlockFailedDispenseEvent<'a>
impl<'a> Send for BlockFailedDispenseEvent<'a>
impl<'a> Sync for BlockFailedDispenseEvent<'a>
impl<'a> Unpin for BlockFailedDispenseEvent<'a>
impl<'a> UnsafeUnpin for BlockFailedDispenseEvent<'a>
impl<'a> UnwindSafe for BlockFailedDispenseEvent<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more