#[repr(u32)]pub enum MenuKind {
Show 25 variants
Generic9x1 = 0,
Generic9x2 = 1,
Generic9x3 = 2,
Generic9x4 = 3,
Generic9x5 = 4,
Generic9x6 = 5,
Generic3x3 = 6,
Crafter3x3 = 7,
Anvil = 8,
Beacon = 9,
BlastFurnace = 10,
BrewingStand = 11,
Crafting = 12,
Enchantment = 13,
Furnace = 14,
Grindstone = 15,
Hopper = 16,
Lectern = 17,
Loom = 18,
Merchant = 19,
ShulkerBox = 20,
Smithing = 21,
Smoker = 22,
CartographyTable = 23,
Stonecutter = 24,
}Variants§
Generic9x1 = 0
Generic9x2 = 1
Generic9x3 = 2
Generic9x4 = 3
Generic9x5 = 4
Generic9x6 = 5
Generic3x3 = 6
Crafter3x3 = 7
Anvil = 8
Beacon = 9
BlastFurnace = 10
BrewingStand = 11
Crafting = 12
Enchantment = 13
Furnace = 14
Grindstone = 15
Hopper = 16
Lectern = 17
Loom = 18
Merchant = 19
ShulkerBox = 20
Smithing = 21
Smoker = 22
CartographyTable = 23
Stonecutter = 24
Implementations§
Trait Implementations§
Source§impl AzBuf for MenuKind
impl AzBuf for MenuKind
fn azalea_write(&self, buf: &mut impl Write) -> Result<(), Error>
fn azalea_read(buf: &mut Cursor<&[u8]>) -> Result<Self, BufReadError>
Source§impl<'de> Deserialize<'de> for MenuKind
Available on crate feature serde only.
impl<'de> Deserialize<'de> for MenuKind
Available on crate feature
serde only.Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for MenuKind
Convert the value to a stringified identifier, formatted like
"minecraft:air".
impl Display for MenuKind
Convert the value to a stringified identifier, formatted like
"minecraft:air".
Source§impl FromNbtTag for MenuKind
impl FromNbtTag for MenuKind
fn from_nbt_tag(tag: NbtTag<'_, '_>) -> Option<Self>
fn from_optional_nbt_tag( tag: Option<NbtTag<'_, '_>>, ) -> Result<Option<Self>, DeserializeError>
Source§impl FromStr for MenuKind
Parse the value from a stringified identifier, formatted like
either "air" or "minecraft:air".
impl FromStr for MenuKind
Parse the value from a stringified identifier, formatted like
either "air" or "minecraft:air".
Source§impl Ord for MenuKind
impl Ord for MenuKind
Source§impl PartialOrd for MenuKind
impl PartialOrd for MenuKind
Source§impl ToNbtTag for MenuKind
impl ToNbtTag for MenuKind
fn to_nbt_tag(self) -> NbtTag
fn to_optional_nbt_tag(self) -> Option<NbtTag>
Source§impl<'a> TryFrom<&'a Identifier> for MenuKind
impl<'a> TryFrom<&'a Identifier> for MenuKind
impl Copy for MenuKind
impl Eq for MenuKind
impl StructuralPartialEq for MenuKind
Auto Trait Implementations§
impl Freeze for MenuKind
impl RefUnwindSafe for MenuKind
impl Send for MenuKind
impl Sync for MenuKind
impl Unpin for MenuKind
impl UnwindSafe for MenuKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.