pub struct Attribute(/* private fields */);Implementations§
Source§impl Attribute
impl Attribute
pub fn new(value: AttributeValue) -> Self
pub fn get_type(&self) -> AttributeType
pub fn get_inner_value(&self) -> &AttributeValue
pub fn get_inner_value_mut(&mut self) -> &mut AttributeValue
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Attribute
impl !Send for Attribute
impl !Sync for Attribute
impl !UnwindSafe for Attribute
impl Freeze for Attribute
impl Unpin for Attribute
impl UnsafeUnpin for Attribute
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