pub enum ScopedOutput<'env> {
Borrowed(TensorView<'env>),
Owned(DescriptorSlot),
Metadata(OutputMetadata),
}Expand description
Output classification used by scoped providers.
Variants§
Borrowed(TensorView<'env>)
A result that aliases an immutable caller input.
Owned(DescriptorSlot)
A fresh result owned by the scoped bundle’s allocation group.
Metadata(OutputMetadata)
Metadata-only output with no tensor payload.
Trait Implementations§
Auto Trait Implementations§
impl<'env> !RefUnwindSafe for ScopedOutput<'env>
impl<'env> !UnwindSafe for ScopedOutput<'env>
impl<'env> Freeze for ScopedOutput<'env>
impl<'env> Send for ScopedOutput<'env>
impl<'env> Sync for ScopedOutput<'env>
impl<'env> Unpin for ScopedOutput<'env>
impl<'env> UnsafeUnpin for ScopedOutput<'env>
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