pub struct Yield(/* private fields */);
Implementations§
Source§impl Yield
impl Yield
pub fn new_execute_region( parent: &ExecuteRegion, values: &[Value], loc: &Location, ) -> Self
pub fn new_for(parent: &For, values: &[Value], loc: &Location) -> Self
pub fn new_if(parent: &If, values: &[Value], loc: &Location) -> Self
pub fn new_index_switch( parent: &IndexSwitch, values: &[Value], loc: &Location, ) -> Self
pub fn new_while(parent: &While, values: &[Value], loc: &Location) -> Self
pub fn get(&self) -> &MlirOperation
pub fn get_mut(&mut self) -> &mut MlirOperation
pub fn get_parent(&self) -> &MlirOperation
pub fn get_parent_op(&self) -> &Op
pub fn get_parent_mut(&mut self) -> &mut MlirOperation
pub fn get_parent_mut_op(&mut self) -> &mut Op
Trait Implementations§
Source§impl From<(MlirOperation, MlirOperation, Op)> for Yield
impl From<(MlirOperation, MlirOperation, Op)> for Yield
Source§fn from((op, parent, parent_op): (MlirOperation, MlirOperation, Op)) -> Self
fn from((op, parent, parent_op): (MlirOperation, MlirOperation, Op)) -> Self
Converts to this type from the input type.
Source§impl IOperation for Yield
impl IOperation for Yield
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 Yield
impl RefUnwindSafe for Yield
impl !Send for Yield
impl !Sync for Yield
impl Unpin for Yield
impl UnwindSafe for Yield
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