mlir::attributes::specialized

Trait NamedI32DenseArray

Source
pub trait NamedI32DenseArray:
    From<MlirAttribute>
    + IAttributeNamed
    + Sized {
    // Provided methods
    fn new(context: &Context, values: &[i32]) -> Self { ... }
    fn from_checked(attr: MlirAttribute) -> Self { ... }
    fn as_dense_array(&self) -> DenseArray { ... }
    fn num_elements(&self) -> isize { ... }
}

Provided Methods§

Source

fn new(context: &Context, values: &[i32]) -> Self

Source

fn from_checked(attr: MlirAttribute) -> Self

Source

fn as_dense_array(&self) -> DenseArray

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§