Struct MenuKey
pub struct MenuKey(/* private fields */);Expand description
A menu type (minecraft:generic_9x3) in the built-in menu registry, in
registration order. A key stays valid until the game exits.
Implementations§
Trait Implementations§
impl Copy for MenuKey
impl Eq for MenuKey
impl StructuralPartialEq for MenuKey
Auto Trait Implementations§
impl Freeze for MenuKey
impl RefUnwindSafe for MenuKey
impl Send for MenuKey
impl Sync for MenuKey
impl Unpin for MenuKey
impl UnsafeUnpin for MenuKey
impl UnwindSafe for MenuKey
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