Enum fastnbt::Tag [−][src]
#[repr(u8)]
pub enum Tag {
Show 13 variants
End,
Byte,
Short,
Int,
Long,
Float,
Double,
ByteArray,
String,
List,
Compound,
IntArray,
LongArray,
}
Expand description
An NBT tag. This does not carry the value or the name of the data.
Variants
Represents the end of a Compound object.
Equivalent to i8.
Equivalent to i16.
Equivalent to i32.
Equivalent to i64
Equivalent to f32.
Equivalent to f64.
Represents as array of Byte (i8).
Represents a Unicode string.
Represents a list of other objects, elements are not required to be the same type.
Represents a struct-like structure.
Represents as array of Int (i32).
Represents as array of Long (i64).
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Tag
impl UnwindSafe for Tag
Blanket Implementations
Mutably borrows from an owned value. Read more