pub trait IOperation {
// Required methods
fn get(&self) -> &MlirOperation;
fn get_dialect(&self) -> Dialect;
fn get_effects(&self) -> MemoryEffectList;
fn get_interfaces(&self) -> &'static [Interface];
fn get_mut(&mut self) -> &mut MlirOperation;
fn get_name(&self) -> &'static str;
fn get_op(&self) -> OpRef;
fn get_traits(&self) -> &'static [Trait];
// Provided method
fn as_operation(&self) -> Operation ⓘ { ... }
}
Expand description
Interface for dialect operations with trait and interface semantics.