Struct anitomy_sys::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 Debug for Element
[src]
impl Debug for Element
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 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 PartialEq for Element
[src]
impl PartialEq for Element
fn eq(&self, other: &Element) -> bool
[src]
fn eq(&self, other: &Element) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Element) -> bool
[src]
fn ne(&self, other: &Element) -> bool
This method tests for !=
.
impl Eq for Element
[src]
impl Eq for Element