Enum nbt_parser::UnnamedTag [−][src]
pub enum UnnamedTag { End, Byte(i8), Short(i16), Int(i32), Long(i64), Float(f32), Double(f64), ByteArray(Vec<i8>), String(String), List(Vec<UnnamedTag>), Compound(Vec<NamedTag>), }
An unnamed tag.
Variants
End
The TAG_End
tag. Normally not found anywhere but inside TAG_Compound
s.
Byte(i8)
The TAG_Byte
tag.
Short(i16)
The TAG_Short
tag.
Int(i32)
The TAG_Int
tag.
Long(i64)
The TAG_Long
tag.
Float(f32)
The TAG_Float
tag.
Double(f64)
The TAG_Double
tag.
ByteArray(Vec<i8>)
The TAG_ByteArray
tag.
String(String)
The TAG_String
tag.
List(Vec<UnnamedTag>)
The TAG_List
tag. This contains unnamed tags, which are guaranteed to be all of the same
type.
Compound(Vec<NamedTag>)
The TAG_Compound
tag. This contains named tags, but the TAG_End
tag which is always
present at the end is removed for ease of use.
Trait Implementations
impl Clone for UnnamedTag
[src]
impl Clone for UnnamedTag
fn clone(&self) -> UnnamedTag
[src]
fn clone(&self) -> UnnamedTag
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for UnnamedTag
[src]
impl Debug for UnnamedTag
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for UnnamedTag
[src]
impl PartialEq for UnnamedTag
fn eq(&self, other: &UnnamedTag) -> bool
[src]
fn eq(&self, other: &UnnamedTag) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &UnnamedTag) -> bool
[src]
fn ne(&self, other: &UnnamedTag) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for UnnamedTag
impl Send for UnnamedTag
impl Sync for UnnamedTag
impl Sync for UnnamedTag