pub trait GetAttributes {
// Required methods
fn get_attributes(&self) -> &Attributes;
fn get_mut_attributes(&mut self) -> &mut Attributes;
}
Expand description
Structs that can return an Attributes
instance.
Required Methods§
Sourcefn get_attributes(&self) -> &Attributes
fn get_attributes(&self) -> &Attributes
Returns an Attributes
instance
Sourcefn get_mut_attributes(&mut self) -> &mut Attributes
fn get_mut_attributes(&mut self) -> &mut Attributes
Returns a mutable Attributes
instance