mlir::attributes::specialized

Trait NamedIndex

Source
pub trait NamedIndex:
    From<MlirAttribute>
    + IAttributeNamed
    + Sized {
    // Provided methods
    fn new(context: &Context, n: i64) -> Self { ... }
    fn from_checked(attr: MlirAttribute) -> Self { ... }
    fn as_index(&self) -> IndexAttr { ... }
}

Provided Methods§

Source

fn new(context: &Context, n: i64) -> Self

Source

fn from_checked(attr: MlirAttribute) -> Self

Source

fn as_index(&self) -> IndexAttr

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§