pub struct Dialect(/* private fields */);
Implementations§
Source§impl Dialect
impl Dialect
pub fn get(&self) -> &MlirDialect
pub fn get_context(&self) -> Context
pub fn get_mut(&mut self) -> &mut MlirDialect
pub fn get_namespace(&self) -> StringRef
pub fn get_op_name(&self, op: &dyn IOp) -> StringBacked
pub fn is_null(&self) -> bool
Trait Implementations§
Source§impl From<MlirDialect> for Dialect
impl From<MlirDialect> for Dialect
Source§fn from(dialect: MlirDialect) -> Self
fn from(dialect: MlirDialect) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Dialect
impl RefUnwindSafe for Dialect
impl !Send for Dialect
impl !Sync for Dialect
impl Unpin for Dialect
impl UnwindSafe for Dialect
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