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