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
name: String
The name of the tag. This is the empty string if the inner tag is a TAG_End
.
content: UnnamedTag
The actual content of the tag.
Trait Implementations
impl Clone for NamedTag
[src]
impl Clone for NamedTag
fn clone(&self) -> NamedTag
[src]
fn clone(&self) -> NamedTag
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 NamedTag
[src]
impl Debug for NamedTag
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 NamedTag
[src]
impl PartialEq for NamedTag