Struct DispenseMethodEvent
pub struct DispenseMethodEvent<'a> {
pub dimension: &'a str,
pub pos: [i32; 3],
pub facing: Direction,
pub state: BlockState,
pub stack: &'a ItemStack,
}Expand description
What BlockPart::dispense_method 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]§facing: Direction§state: BlockState§stack: &'a ItemStackAuto Trait Implementations§
impl<'a> Freeze for DispenseMethodEvent<'a>
impl<'a> RefUnwindSafe for DispenseMethodEvent<'a>
impl<'a> Send for DispenseMethodEvent<'a>
impl<'a> Sync for DispenseMethodEvent<'a>
impl<'a> Unpin for DispenseMethodEvent<'a>
impl<'a> UnsafeUnpin for DispenseMethodEvent<'a>
impl<'a> UnwindSafe for DispenseMethodEvent<'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