pub trait IType {
// Required methods
fn get(&self) -> &MlirType;
fn get_mut(&mut self) -> &mut MlirType;
// Provided methods
fn as_type(&self) -> Type { ... }
fn get_context(&self) -> Context { ... }
}
pub trait IType {
// Required methods
fn get(&self) -> &MlirType;
fn get_mut(&mut self) -> &mut MlirType;
// Provided methods
fn as_type(&self) -> Type { ... }
fn get_context(&self) -> Context { ... }
}