pub struct Results(/* private fields */);
Implementations§
Source§impl Results
impl Results
pub fn get(&self) -> &MlirAttribute
pub fn get_mut(&mut self) -> &mut MlirAttribute
Trait Implementations§
Source§impl From<MlirAttribute> for Results
impl From<MlirAttribute> for Results
Source§fn from(attr: MlirAttribute) -> Self
fn from(attr: MlirAttribute) -> Self
Converts to this type from the input type.
Source§impl IAttribute for Results
impl IAttribute for Results
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 Results
impl IAttributeNamed for Results
Source§impl NamedArrayOfDictionaries for Results
impl NamedArrayOfDictionaries for Results
fn new(context: &Context, elements: &[Dictionary]) -> Self
fn from_checked(attr: MlirAttribute) -> Self
fn as_array(&self) -> Array
fn as_dictionaries(&self) -> Vec<Dictionary>
fn num_elements(&self) -> isize
Auto Trait Implementations§
impl Freeze for Results
impl RefUnwindSafe for Results
impl !Send for Results
impl !Sync for Results
impl Unpin for Results
impl UnwindSafe for Results
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