Struct anitomy::Element [−][src]
pub struct Element { pub category: ElementCategory, pub value: String, }
An element parsed from a filename by Anitomy.
Fields
category: ElementCategory
The category of the element.
value: String
The value of the element.
Trait Implementations
impl Clone for Element
[src]
impl Clone for Element
fn clone(&self) -> Element
[src]
fn clone(&self) -> Element
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 Element
[src]
impl Debug for Element
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Eq for Element
[src]
impl Eq for Element
impl PartialEq<Element> for Element
[src]
impl PartialEq<Element> for Element