pub struct Cast(/* private fields */);
Implementations§
Trait Implementations§
Source§impl From<MlirAttribute> for Cast
impl From<MlirAttribute> for Cast
Source§fn from(attr: MlirAttribute) -> Self
fn from(attr: MlirAttribute) -> Self
Converts to this type from the input type.
Source§impl IAttribute for Cast
impl IAttribute for Cast
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 Cast
impl IAttributeNamed for Cast
Source§impl NamedParsed for Cast
impl NamedParsed for Cast
fn new(context: &Context, s: &StringRef) -> Self
fn new_custom(context: &Context, cad: &CustomAttributeData) -> Self
Auto Trait Implementations§
impl Freeze for Cast
impl RefUnwindSafe for Cast
impl !Send for Cast
impl !Sync for Cast
impl Unpin for Cast
impl UnwindSafe for Cast
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