pub struct PreparedValidatedTensorLease<'export, 'producer, 'consumer, T: DeviceElement> { /* private fields */ }Expand description
A prepared list read with floating finite validation or integer structural validation.
Implementations§
Source§impl<'export, T: DeviceElement> PreparedValidatedTensorLease<'export, '_, '_, T>
impl<'export, T: DeviceElement> PreparedValidatedTensorLease<'export, '_, '_, T>
pub fn tensor(&self) -> &ValidatedDeviceTensor<'export, T>
pub fn complete(self) -> Result<LeaseCompletion>
Trait Implementations§
Auto Trait Implementations§
impl<'export, 'producer, 'consumer, T> !RefUnwindSafe for PreparedValidatedTensorLease<'export, 'producer, 'consumer, T>
impl<'export, 'producer, 'consumer, T> !Send for PreparedValidatedTensorLease<'export, 'producer, 'consumer, T>
impl<'export, 'producer, 'consumer, T> !Sync for PreparedValidatedTensorLease<'export, 'producer, 'consumer, T>
impl<'export, 'producer, 'consumer, T> !UnwindSafe for PreparedValidatedTensorLease<'export, 'producer, 'consumer, T>
impl<'export, 'producer, 'consumer, T> Freeze for PreparedValidatedTensorLease<'export, 'producer, 'consumer, T>where
ValidatedDeviceTensor<'export, T>: Freeze,
impl<'export, 'producer, 'consumer, T> Unpin for PreparedValidatedTensorLease<'export, 'producer, 'consumer, T>where
ValidatedDeviceTensor<'export, T>: Unpin,
impl<'export, 'producer, 'consumer, T> UnsafeUnpin for PreparedValidatedTensorLease<'export, 'producer, 'consumer, T>where
ValidatedDeviceTensor<'export, T>: UnsafeUnpin,
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