pub struct SymbolName(/* private fields */);
Implementations§
Source§impl SymbolName
impl SymbolName
pub fn get(&self) -> &MlirAttribute
pub fn get_mut(&mut self) -> &mut MlirAttribute
Trait Implementations§
Source§impl Clone for SymbolName
impl Clone for SymbolName
Source§fn clone(&self) -> SymbolName
fn clone(&self) -> SymbolName
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 From<MlirAttribute> for SymbolName
impl From<MlirAttribute> for SymbolName
Source§fn from(attr: MlirAttribute) -> Self
fn from(attr: MlirAttribute) -> Self
Converts to this type from the input type.
Source§impl IAttribute for SymbolName
impl IAttribute for SymbolName
fn get(&self) -> &MlirAttribute
fn get_mut(&mut self) -> &mut MlirAttribute
fn as_attribute(&self) -> Attribute
fn get_context(&self) -> Context
fn get_type(&self) -> Type
Source§impl IAttributeNamed for SymbolName
impl IAttributeNamed for SymbolName
Source§impl NamedString for SymbolName
impl NamedString for SymbolName
fn new(context: &Context, s: &StringRef) -> Self
fn from_checked(attr: MlirAttribute) -> Self
fn as_string(&self) -> StringAttr
Auto Trait Implementations§
impl Freeze for SymbolName
impl RefUnwindSafe for SymbolName
impl !Send for SymbolName
impl !Sync for SymbolName
impl Unpin for SymbolName
impl UnwindSafe for SymbolName
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