pub struct MenuType {
pub key: Identifier,
}Expand description
Represents a menu type (container/GUI type) in Minecraft. Menu types define the different inventory interfaces available, such as chests, furnaces, anvils, etc.
Fields§
§key: IdentifierTrait Implementations§
Auto Trait Implementations§
impl Freeze for MenuType
impl RefUnwindSafe for MenuType
impl Send for MenuType
impl Sync for MenuType
impl Unpin for MenuType
impl UnsafeUnpin for MenuType
impl UnwindSafe for MenuType
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