Struct dummy_xml::node::Attribute
[−]
[src]
pub struct Attribute { /* fields omitted */ }
Methods
impl Attribute
[src]
pub fn new<S: Into<String>>(name: S, value: S) -> Box<Self>
[src]
pub fn name(&self) -> &str
[src]
pub fn value(&self) -> &str
[src]
pub fn set_name<S: Into<String>>(&mut self, name: S) -> &mut Self
[src]
pub fn set_value<S: Into<String>>(&mut self, value: S) -> &mut Self
[src]
pub fn next_attribute(&self) -> Option<&Self>
[src]
pub fn next_attribute_mut(&mut self) -> Option<&mut Self>
[src]
pub fn previous_attribute(&self) -> Option<&Self>
[src]
pub fn previous_attribute_mut(&mut self) -> Option<&mut Self>
[src]
Trait Implementations
impl Debug for Attribute
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more