mlir::attributes::specialized

Trait NamedBool

Source
pub trait NamedBool:
    From<MlirAttribute>
    + IAttributeNamed
    + Sized {
    // Provided methods
    fn new(context: &Context, value: bool) -> Self { ... }
    fn from_checked(attr: MlirAttribute) -> Self { ... }
    fn as_bool(&self) -> BoolAttr { ... }
    fn get_value(&self) -> bool { ... }
}

Provided Methods§

Source

fn new(context: &Context, value: bool) -> Self

Source

fn from_checked(attr: MlirAttribute) -> Self

Source

fn as_bool(&self) -> BoolAttr

Source

fn get_value(&self) -> bool

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§