pub enum NbtTag {
}
Expand description
An NBT Tag
Variants§
End
The end Tag Appears at the end of each Compound tag
Byte(u8)
A single byte
Short(i16)
A single short
Int(i32)
A single int
Long(i64)
A single long
Float(f32)
A single float
Double(f64)
A single double
ByteArray(NbtArray<u8>)
An array of bytes
String(String)
A string
List(NbtList)
A list of Tags of the same type
Compound(NbtCompound)
A compound tag
IntArray(NbtArray<i32>)
An array of ints
LongArray(NbtArray<i64>)
An array of longs
FloatArray(NbtArray<f32>)
An array of floats
DoubleArray(NbtArray<f64>)
An array of doubles
Uuid(UUID)
A UUID
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NbtTag
impl RefUnwindSafe for NbtTag
impl Send for NbtTag
impl Sync for NbtTag
impl Unpin for NbtTag
impl UnwindSafe for NbtTag
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