mlir::attributes::specialized

Trait NamedArrayOfAffineMaps

Source
pub trait NamedArrayOfAffineMaps:
    From<MlirAttribute>
    + IAttributeNamed
    + Sized {
    // Provided methods
    fn new(context: &Context, elements: &[AffineMap]) -> Self { ... }
    fn from_checked(attr: MlirAttribute) -> Self { ... }
    fn as_array(&self) -> Array { ... }
    fn as_affine_maps(&self) -> Vec<AffineMap> { ... }
    fn num_elements(&self) -> isize { ... }
}

Provided Methods§

Source

fn new(context: &Context, elements: &[AffineMap]) -> Self

Source

fn from_checked(attr: MlirAttribute) -> Self

Source

fn as_array(&self) -> Array

Source

fn as_affine_maps(&self) -> Vec<AffineMap>

Source

fn num_elements(&self) -> isize

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.

Implementors§