Struct spreadsheet_ods::format::AttrMap2 [−][src]
pub struct AttrMap2 { /* fields omitted */ }
Container type for attributes.
Implementations
impl AttrMap2
[src]
impl AttrMap2
[src]pub fn new() -> Self
[src]
pub fn is_empty(&self) -> bool
[src]
Are there any attributes?
pub fn add_all(&mut self, data: &[(&str, String)])
[src]
Add from Slice
pub fn set_attr(&mut self, name: &str, value: String)
[src]
Adds an attribute.
pub fn clear_attr(&mut self, name: &str) -> Option<String>
[src]
Removes an attribute.
pub fn attr(&self, name: &str) -> Option<&String>
[src]
Returns the attribute.
pub fn iter(&self) -> AttrMapIter<'_>ⓘNotable traits for AttrMapIter<'a>
impl<'a> Iterator for AttrMapIter<'a> type Item = (&'a DefaultAtom, &'a String);
[src]
Notable traits for AttrMapIter<'a>
impl<'a> Iterator for AttrMapIter<'a> type Item = (&'a DefaultAtom, &'a String);
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AttrMap2
impl RefUnwindSafe for AttrMap2
impl UnwindSafe for AttrMap2
impl UnwindSafe for AttrMap2