pub struct IppAttributes { /* private fields */ }
Expand description
Attribute list
Implementations§
Source§impl IppAttributes
impl IppAttributes
Sourcepub fn new() -> IppAttributes
pub fn new() -> IppAttributes
Create attribute list
Sourcepub fn groups(&self) -> &Vec<IppAttributeGroup>
pub fn groups(&self) -> &Vec<IppAttributeGroup>
Get all groups
Sourcepub fn groups_mut(&mut self) -> &mut Vec<IppAttributeGroup>
pub fn groups_mut(&mut self) -> &mut Vec<IppAttributeGroup>
Get all mutable groups
Sourcepub fn groups_of(&self, tag: DelimiterTag) -> Vec<&IppAttributeGroup>
pub fn groups_of(&self, tag: DelimiterTag) -> Vec<&IppAttributeGroup>
Get a list of attribute groups matching a given delimiter tag
Sourcepub fn add(&mut self, tag: DelimiterTag, attribute: IppAttribute)
pub fn add(&mut self, tag: DelimiterTag, attribute: IppAttribute)
Add attribute to a given group
Trait Implementations§
Source§impl Clone for IppAttributes
impl Clone for IppAttributes
Source§fn clone(&self) -> IppAttributes
fn clone(&self) -> IppAttributes
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for IppAttributes
impl RefUnwindSafe for IppAttributes
impl Send for IppAttributes
impl Sync for IppAttributes
impl Unpin for IppAttributes
impl UnwindSafe for IppAttributes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more