pub struct Unique(/* private fields */);
Implementations§
Source§impl Unique
impl Unique
pub fn get(&self) -> &MlirAttribute
pub fn get_mut(&mut self) -> &mut MlirAttribute
Trait Implementations§
Source§impl From<MlirAttribute> for Unique
impl From<MlirAttribute> for Unique
Source§fn from(attr: MlirAttribute) -> Self
fn from(attr: MlirAttribute) -> Self
Converts to this type from the input type.
Source§impl IAttribute for Unique
impl IAttribute for Unique
fn get(&self) -> &MlirAttribute
fn get_mut(&mut self) -> &mut MlirAttribute
fn as_attribute(&self) -> Attribute
fn get_context(&self) -> Context
fn get_type(&self) -> Type
Source§impl IAttributeNamed for Unique
impl IAttributeNamed for Unique
Auto Trait Implementations§
impl Freeze for Unique
impl RefUnwindSafe for Unique
impl !Send for Unique
impl !Sync for Unique
impl Unpin for Unique
impl UnwindSafe for Unique
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