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

The TAG_End tag. Normally not found anywhere but inside TAG_Compounds.

The TAG_Byte tag.

The TAG_Short tag.

The TAG_Int tag.

The TAG_Long tag.

The TAG_Float tag.

The TAG_Double tag.

The TAG_ByteArray tag.

The TAG_String tag.

The TAG_List tag. This contains unnamed tags, which are guaranteed to be all of the same type.

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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for UnnamedTag
[src]

Formats the value using the given formatter. Read more

impl PartialEq for UnnamedTag
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for UnnamedTag

impl Sync for UnnamedTag