pub struct FunctionAttr(/* private fields */);
Implementations§
Source§impl FunctionAttr
impl FunctionAttr
pub fn get(&self) -> &MlirAttribute
pub fn get_mut(&mut self) -> &mut MlirAttribute
Trait Implementations§
Source§impl Clone for FunctionAttr
impl Clone for FunctionAttr
Source§fn clone(&self) -> FunctionAttr
fn clone(&self) -> FunctionAttr
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 FunctionAttr
impl From<MlirAttribute> for FunctionAttr
Source§fn from(attr: MlirAttribute) -> Self
fn from(attr: MlirAttribute) -> Self
Converts to this type from the input type.
Source§impl IAttribute for FunctionAttr
impl IAttribute for FunctionAttr
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 FunctionAttr
impl IAttributeNamed for FunctionAttr
Source§impl NamedFunction for FunctionAttr
impl NamedFunction for FunctionAttr
fn new(f: &Function) -> Self
fn from_checked(attr: MlirAttribute) -> Self
fn as_type_attribute(&self) -> TypeAttr
fn get_function(&self) -> Function
Auto Trait Implementations§
impl Freeze for FunctionAttr
impl RefUnwindSafe for FunctionAttr
impl !Send for FunctionAttr
impl !Sync for FunctionAttr
impl Unpin for FunctionAttr
impl UnwindSafe for FunctionAttr
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