Struct nbt_parser::NamedTag[][src]

pub struct NamedTag {
    pub name: String,
    pub content: UnnamedTag,
}

A named tag. Contains only the name on its own, and the actual tag's contents are accessible via the content field.

Fields

The name of the tag. This is the empty string if the inner tag is a TAG_End.

The actual content of the tag.

Trait Implementations

impl Clone for NamedTag
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for NamedTag
[src]

Formats the value using the given formatter. Read more

impl PartialEq for NamedTag
[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 NamedTag

impl Sync for NamedTag