pub struct ExtractElement(/* private fields */);
Implementations§
Source§impl ExtractElement
impl ExtractElement
pub fn new(t: &Type, source: &Value, pos: &Value, loc: &Location) -> Self
pub fn new_0_d(t: &Type, source: &Value, loc: &Location) -> Self
pub fn from(op: MlirOperation) -> Self
pub fn get(&self) -> &MlirOperation
pub fn get_mut(&mut self) -> &mut MlirOperation
pub fn get_result(&self) -> Value
Trait Implementations§
Source§impl Clone for ExtractElement
impl Clone for ExtractElement
Source§fn clone(&self) -> ExtractElement
fn clone(&self) -> ExtractElement
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 IOperation for ExtractElement
impl IOperation for ExtractElement
fn get(&self) -> &MlirOperation
fn get_dialect(&self) -> Dialect
fn get_effects(&self) -> MemoryEffectList
fn get_interfaces(&self) -> &'static [Interface]
fn get_mut(&mut self) -> &mut MlirOperation
fn get_name(&self) -> &'static str
fn get_op(&self) -> OpRef
fn get_traits(&self) -> &'static [Trait]
fn as_operation(&self) -> Operation ⓘ
Auto Trait Implementations§
impl Freeze for ExtractElement
impl RefUnwindSafe for ExtractElement
impl !Send for ExtractElement
impl !Sync for ExtractElement
impl Unpin for ExtractElement
impl UnwindSafe for ExtractElement
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