pub trait NamedMemoryLayout:
From<MlirAttribute>
+ IAttributeNamed
+ Sized {
// Provided methods
fn new_affine_map(attr: &AffineMap) -> Self { ... }
fn new_strided_layout(attr: &StridedLayout) -> Self { ... }
fn is_affine_map(&self) -> bool { ... }
fn is_strided_layout(&self) -> bool { ... }
fn as_affine_map(&self) -> Option<AffineMap> { ... }
fn as_strided_layout(&self) -> Option<StridedLayout> { ... }
}
Provided Methods§
fn new_affine_map(attr: &AffineMap) -> Self
fn new_strided_layout(attr: &StridedLayout) -> Self
fn is_affine_map(&self) -> bool
fn is_strided_layout(&self) -> bool
fn as_affine_map(&self) -> Option<AffineMap>
fn as_strided_layout(&self) -> Option<StridedLayout>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.