pub struct NamedMap(/* private fields */);
Implementations§
Source§impl NamedMap
impl NamedMap
pub fn get(&self) -> &MlirAttribute
pub fn get_mut(&mut self) -> &mut MlirAttribute
Trait Implementations§
Source§impl From<MlirAttribute> for NamedMap
impl From<MlirAttribute> for NamedMap
Source§fn from(attr: MlirAttribute) -> Self
fn from(attr: MlirAttribute) -> Self
Converts to this type from the input type.
Source§impl IAttribute for NamedMap
impl IAttribute for NamedMap
fn get(&self) -> &MlirAttribute
fn get_mut(&mut self) -> &mut MlirAttribute
fn as_attribute(&self) -> Attribute
fn get_context(&self) -> Context
fn get_type(&self) -> Type
Source§impl IAttributeNamed for NamedMap
impl IAttributeNamed for NamedMap
Source§impl NamedAffineMap for NamedMap
impl NamedAffineMap for NamedMap
fn new(map: AffineMap) -> Self
fn from_checked(attr: MlirAttribute) -> Self
fn as_affine_map(&self) -> AffineMap
Auto Trait Implementations§
impl Freeze for NamedMap
impl RefUnwindSafe for NamedMap
impl !Send for NamedMap
impl !Sync for NamedMap
impl Unpin for NamedMap
impl UnwindSafe for NamedMap
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