mlir::attributes::specialized

Trait NamedMemRef

Source
pub trait NamedMemRef:
    From<MlirAttribute>
    + IAttributeNamed
    + Sized {
    // Provided methods
    fn new(t: &MemRef) -> Self { ... }
    fn from_checked(attr: MlirAttribute) -> Self { ... }
    fn as_type(&self) -> TypeAttr { ... }
}

Provided Methods§

Source

fn new(t: &MemRef) -> Self

Source

fn from_checked(attr: MlirAttribute) -> Self

Source

fn as_type(&self) -> TypeAttr

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§