pub struct ReturnOperation<'c> { /* private fields */ }
Expand description
A return
operation. Terminator for GPU functions..
A terminator operation for regions that appear in the body of gpu.func
functions. The operands to the gpu.return
are the result values returned
by an invocation of the gpu.func
.
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