Struct mlir_sys::MlirNamedAttribute
source · #[repr(C)]pub struct MlirNamedAttribute {
pub name: MlirIdentifier,
pub attribute: MlirAttribute,
}
Expand description
Named MLIR attribute.
A named attribute is essentially a (name, attribute) pair where the name is a string.
Fields§
§name: MlirIdentifier
§attribute: MlirAttribute
Trait Implementations§
source§impl Clone for MlirNamedAttribute
impl Clone for MlirNamedAttribute
source§fn clone(&self) -> MlirNamedAttribute
fn clone(&self) -> MlirNamedAttribute
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MlirNamedAttribute
impl Debug for MlirNamedAttribute
impl Copy for MlirNamedAttribute
Auto Trait Implementations§
impl RefUnwindSafe for MlirNamedAttribute
impl !Send for MlirNamedAttribute
impl !Sync for MlirNamedAttribute
impl Unpin for MlirNamedAttribute
impl UnwindSafe for MlirNamedAttribute
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more