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