Struct MenuQuickMoveEvent
pub struct MenuQuickMoveEvent<'a> {
pub pos: [i32; 3],
pub entity: ModBlockEntityView<'a>,
pub container_slots: usize,
pub slot: usize,
pub stack: &'a mut ItemStack,
}Expand description
What BlockEntityPart::menu_quick_move is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§pos: [i32; 3]§entity: ModBlockEntityView<'a>§container_slots: usize§slot: usize§stack: &'a mut ItemStackAuto Trait Implementations§
impl<'a> !UnwindSafe for MenuQuickMoveEvent<'a>
impl<'a> Freeze for MenuQuickMoveEvent<'a>
impl<'a> RefUnwindSafe for MenuQuickMoveEvent<'a>
impl<'a> Send for MenuQuickMoveEvent<'a>
impl<'a> Sync for MenuQuickMoveEvent<'a>
impl<'a> Unpin for MenuQuickMoveEvent<'a>
impl<'a> UnsafeUnpin for MenuQuickMoveEvent<'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