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