pub struct Registry(/* private fields */);
Implementations§
Source§impl Registry
impl Registry
pub fn new() -> Self
pub fn get(&self) -> &MlirDialectRegistry
pub fn get_mut(&mut self) -> &mut MlirDialectRegistry
pub fn is_null(&self) -> bool
pub fn register_all_dialects(&mut self)
pub fn register_arith(&mut self)
pub fn register_cf(&mut self)
pub fn register_func(&mut self)
pub fn register_gpu(&mut self)
pub fn register_linalg(&mut self)
pub fn register_llvm(&mut self)
pub fn register_memref(&mut self)
pub fn register_scf(&mut self)
pub fn register_shape(&mut self)
pub fn register_spirv(&mut self)
pub fn register_tensor(&mut self)
pub fn register_vector(&mut self)
Trait Implementations§
Source§impl From<MlirDialectRegistry> for Registry
impl From<MlirDialectRegistry> for Registry
Source§fn from(registry: MlirDialectRegistry) -> Self
fn from(registry: MlirDialectRegistry) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Registry
impl RefUnwindSafe for Registry
impl !Send for Registry
impl !Sync for Registry
impl Unpin for Registry
impl UnwindSafe for Registry
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