#[repr(u32)]pub enum StatKind {
Mined = 0,
Crafted = 1,
Used = 2,
Broken = 3,
PickedUp = 4,
Dropped = 5,
Killed = 6,
KilledBy = 7,
Custom = 8,
}
Variants§
Mined = 0
Crafted = 1
Used = 2
Broken = 3
PickedUp = 4
Dropped = 5
Killed = 6
KilledBy = 7
Custom = 8
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StatKind
impl<'de> Deserialize<'de> for StatKind
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 FromNbtTag for StatKind
impl FromNbtTag for StatKind
fn from_nbt_tag(tag: NbtTag<'_, '_>) -> Option<Self>
fn from_optional_nbt_tag( tag: Option<NbtTag<'_, '_>>, ) -> Result<Option<Self>, DeserializeError>
Source§impl ToNbtTag for StatKind
impl ToNbtTag for StatKind
fn to_nbt_tag(self) -> NbtTag
fn to_optional_nbt_tag(self) -> Option<NbtTag>
impl Copy for StatKind
impl Eq for StatKind
impl StructuralPartialEq for StatKind
Auto Trait Implementations§
impl Freeze for StatKind
impl RefUnwindSafe for StatKind
impl Send for StatKind
impl Sync for StatKind
impl Unpin for StatKind
impl UnwindSafe for StatKind
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