Struct ipp::attribute::IppAttributeGroup
source · pub struct IppAttributeGroup { /* private fields */ }
Expand description
Attribute group
Implementations§
source§impl IppAttributeGroup
impl IppAttributeGroup
sourcepub fn new(tag: DelimiterTag) -> IppAttributeGroup
pub fn new(tag: DelimiterTag) -> IppAttributeGroup
Create new attribute group of a given type
sourcepub fn tag(&self) -> DelimiterTag
pub fn tag(&self) -> DelimiterTag
Return group type tag
sourcepub fn attributes(&self) -> &HashMap<String, IppAttribute>
pub fn attributes(&self) -> &HashMap<String, IppAttribute>
Return read-only attributes
sourcepub fn attributes_mut(&mut self) -> &mut HashMap<String, IppAttribute>
pub fn attributes_mut(&mut self) -> &mut HashMap<String, IppAttribute>
Return mutable attributes
sourcepub fn into_attributes(self) -> HashMap<String, IppAttribute>
pub fn into_attributes(self) -> HashMap<String, IppAttribute>
Consume this group and return mutable attributes
Trait Implementations§
source§impl Clone for IppAttributeGroup
impl Clone for IppAttributeGroup
source§fn clone(&self) -> IppAttributeGroup
fn clone(&self) -> IppAttributeGroup
Returns a copy 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 RefUnwindSafe for IppAttributeGroup
impl Send for IppAttributeGroup
impl Sync for IppAttributeGroup
impl Unpin for IppAttributeGroup
impl UnwindSafe for IppAttributeGroup
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