pub struct Referee(/* private fields */);
Implementations§
Source§impl Referee
impl Referee
pub fn get(&self) -> &MlirAttribute
pub fn get_mut(&mut self) -> &mut MlirAttribute
Trait Implementations§
Source§impl From<MlirAttribute> for Referee
impl From<MlirAttribute> for Referee
Source§fn from(attr: MlirAttribute) -> Self
fn from(attr: MlirAttribute) -> Self
Converts to this type from the input type.
Source§impl IAttribute for Referee
impl IAttribute for Referee
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 Referee
impl IAttributeNamed for Referee
Source§impl NamedSymbolRef for Referee
impl NamedSymbolRef for Referee
fn new(context: &Context, s: &StringRef) -> Self
fn from_checked(attr: MlirAttribute) -> Self
fn from_symbol_ref(s_ref: &SymbolRef) -> Self
fn as_string_ref(&self) -> StringRef
fn as_symbol_ref(&self) -> SymbolRef
Auto Trait Implementations§
impl Freeze for Referee
impl RefUnwindSafe for Referee
impl !Send for Referee
impl !Sync for Referee
impl Unpin for Referee
impl UnwindSafe for Referee
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