pub struct AffineYieldOperation<'c> { /* private fields */ }
Expand description
A yield
operation. Yield values to parent operation.
The affine.yield
yields zero or more SSA values from an affine op region and
terminates the region. The semantics of how the values yielded are used
is defined by the parent operation.
If affine.yield
has any operands, the operands must match the parent
operation’s results.
If the parent operation defines no values, then the affine.yield
may be
left out in the custom syntax and the builders will insert one implicitly.
Otherwise, it has to be present in the syntax to indicate which values are
yielded.
Implementations§
source§impl<'c> AffineYieldOperation<'c>
impl<'c> AffineYieldOperation<'c>
Trait Implementations§
source§impl<'c> From<AffineYieldOperation<'c>> for Operation<'c>
impl<'c> From<AffineYieldOperation<'c>> for Operation<'c>
source§fn from(operation: AffineYieldOperation<'c>) -> Self
fn from(operation: AffineYieldOperation<'c>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'c> RefUnwindSafe for AffineYieldOperation<'c>
impl<'c> !Send for AffineYieldOperation<'c>
impl<'c> !Sync for AffineYieldOperation<'c>
impl<'c> Unpin for AffineYieldOperation<'c>
impl<'c> UnwindSafe for AffineYieldOperation<'c>
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