mlir::attributes::specialized

Trait NamedParsed

Source
pub trait NamedParsed:
    From<MlirAttribute>
    + IAttributeNamed
    + Sized {
    // Provided methods
    fn new(context: &Context, s: &StringRef) -> Self { ... }
    fn new_custom(context: &Context, cad: &CustomAttributeData) -> Self { ... }
}

Provided Methods§

Source

fn new(context: &Context, s: &StringRef) -> Self

Source

fn new_custom(context: &Context, cad: &CustomAttributeData) -> Self

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§