mlir::attributes::specialized

Trait NamedArrayOfIntegerArrays

Source
pub trait NamedArrayOfIntegerArrays:
    From<MlirAttribute>
    + IAttributeNamed
    + Sized {
    // Provided methods
    fn new(context: &Context, values: &[Array], width: usize) -> Self { ... }
    fn from_checked(attr: MlirAttribute) -> Self { ... }
    fn as_array(&self) -> Array { ... }
    fn as_integer_arrays(&self) -> Vec<Array> { ... }
    fn num_elements(&self) -> isize { ... }
    fn num_elements_flattened(&self) -> isize { ... }
}

Provided Methods§

Source

fn new(context: &Context, values: &[Array], width: usize) -> Self

Source

fn from_checked(attr: MlirAttribute) -> Self

Source

fn as_array(&self) -> Array

Source

fn as_integer_arrays(&self) -> Vec<Array>

Source

fn num_elements(&self) -> isize

Source

fn num_elements_flattened(&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§