#[repr(u8)]pub enum NbtTypeId {
Show 13 variants
End = 0,
Byte = 1,
Short = 2,
Int = 3,
Long = 4,
Float = 5,
Double = 6,
ByteArray = 7,
String = 8,
List = 9,
Compound = 10,
IntArray = 11,
LongArray = 12,
}Expand description
type cast to give the NbtValue type id and undestandable name
Variants§
End = 0
Byte = 1
Short = 2
Int = 3
Long = 4
Float = 5
Double = 6
ByteArray = 7
String = 8
List = 9
Compound = 10
IntArray = 11
LongArray = 12
Trait Implementations§
source§impl PartialEq for NbtTypeId
impl PartialEq for NbtTypeId
impl Copy for NbtTypeId
impl Eq for NbtTypeId
impl StructuralPartialEq for NbtTypeId
Auto Trait Implementations§
impl Freeze for NbtTypeId
impl RefUnwindSafe for NbtTypeId
impl Send for NbtTypeId
impl Sync for NbtTypeId
impl Unpin for NbtTypeId
impl UnwindSafe for NbtTypeId
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