pub enum Tag {
Byte(i8),
Short(i16),
Int(i32),
Long(i64),
Float(f32),
Double(f64),
ByteArray(Bytes),
String(String),
List(List),
Compound(Compound),
IntArray(Vec<i32>),
LongArray(Vec<i64>),
}Expand description
An NBT tag.
Variants§
Byte(i8)
Short(i16)
Int(i32)
Long(i64)
Float(f32)
Double(f64)
ByteArray(Bytes)
String(String)
List(List)
Compound(Compound)
IntArray(Vec<i32>)
LongArray(Vec<i64>)
Implementations§
Trait Implementations§
impl StructuralPartialEq for Tag
Auto Trait Implementations§
impl !Freeze for Tag
impl Forget for Tag
impl Move for Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnsafeUnpin for Tagwhere
*const u8: UnsafeUnpin,
Align8<*mut ()>: UnsafeUnpin,
&'static Vtable: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Tag>: UnsafeUnpin,
PhantomData<(String, Tag)>: UnsafeUnpin,
PhantomData<i32>: UnsafeUnpin,
PhantomData<i64>: UnsafeUnpin,
impl UnwindSafe for Tagwhere
*const u8: UnwindSafe,
Align8<*mut ()>: UnwindSafe,
&'static Vtable: UnwindSafe,
RawVecInner: UnwindSafe,
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