mlir::attributes::specialized

Trait NamedFunction

Source
pub trait NamedFunction:
    From<MlirAttribute>
    + IAttributeNamed
    + Sized {
    // Provided methods
    fn new(f: &Function) -> Self { ... }
    fn from_checked(attr: MlirAttribute) -> Self { ... }
    fn as_type_attribute(&self) -> TypeAttr { ... }
    fn get_function(&self) -> Function { ... }
}

Provided Methods§

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§