pub struct Opaque(/* private fields */);
Implementations§
Source§impl Opaque
impl Opaque
pub fn new(context: &Context, namespace: &StringRef, data: &StringRef) -> Self
pub fn from_type(t: &Type) -> Self
pub fn get(&self) -> &MlirType
pub fn get_data(&self) -> StringRef
pub fn get_mut(&mut self) -> &mut MlirType
pub fn get_namespace(&self) -> StringRef
pub fn get_type_id() -> TypeID
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Opaque
impl RefUnwindSafe for Opaque
impl !Send for Opaque
impl !Sync for Opaque
impl Unpin for Opaque
impl UnwindSafe for Opaque
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