pub struct ReturnOperation<'c> { /* private fields */ }
Expand description
A return
operation. Function return operation.
The func.return
operation represents a return operation within a function.
The operation takes variable number of operands and produces no results.
The operand number and types must match the signature of the function
that contains the operation.
Example:
func.func @foo() : (i32, f8) {
...
return %0, %1 : i32, f8
}
Implementations§
source§impl<'c> ReturnOperation<'c>
impl<'c> ReturnOperation<'c>
Trait Implementations§
source§impl<'c> From<ReturnOperation<'c>> for Operation<'c>
impl<'c> From<ReturnOperation<'c>> for Operation<'c>
source§fn from(operation: ReturnOperation<'c>) -> Self
fn from(operation: ReturnOperation<'c>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'c> RefUnwindSafe for ReturnOperation<'c>
impl<'c> !Send for ReturnOperation<'c>
impl<'c> !Sync for ReturnOperation<'c>
impl<'c> Unpin for ReturnOperation<'c>
impl<'c> UnwindSafe for ReturnOperation<'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