pub trait NamedString:
From<MlirAttribute>
+ IAttributeNamed
+ Sized {
// Provided methods
fn new(context: &Context, s: &StringRef) -> Self { ... }
fn from_checked(attr: MlirAttribute) -> Self { ... }
fn as_string(&self) -> StringAttr { ... }
}
Provided Methods§
fn new(context: &Context, s: &StringRef) -> Self
fn from_checked(attr: MlirAttribute) -> Self
fn as_string(&self) -> StringAttr
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.