Struct optee_utee::object::Attribute
source · pub struct Attribute { /* private fields */ }
Expand description
A general attribute (buffer or value) that can be used to populate an object or to specify operation parameters.
Implementations§
Trait Implementations§
source§impl<'attrref> From<AttributeMemref<'attrref>> for Attribute
impl<'attrref> From<AttributeMemref<'attrref>> for Attribute
Convert the buffer attribute AttributeMemref to the general attribute.
source§fn from(attr: AttributeMemref<'_>) -> Self
fn from(attr: AttributeMemref<'_>) -> Self
Converts to this type from the input type.
source§impl From<AttributeValue> for Attribute
impl From<AttributeValue> for Attribute
Convert the value attribute AttributeValue to the general attribute.
source§fn from(attr: AttributeValue) -> Self
fn from(attr: AttributeValue) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Attribute
impl RefUnwindSafe for Attribute
impl !Send for Attribute
impl !Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe 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