mlir::attributes::specialized

Trait NamedUnit

Source
pub trait NamedUnit:
    From<MlirAttribute>
    + IAttributeNamed
    + Sized {
    // Provided methods
    fn new(context: &Context) -> Self { ... }
    fn from_checked(attr: MlirAttribute) -> Self { ... }
    fn as_unit(&self) -> Unit { ... }
}

Provided Methods§

Source

fn new(context: &Context) -> Self

Source

fn from_checked(attr: MlirAttribute) -> Self

Source

fn as_unit(&self) -> Unit

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§