pub enum Handle<H> {
NotInit,
Existing(H),
}Available on crate feature
repr only.Expand description
Backend tensor handle wrapper tracking their creation state
Variants§
Auto Trait Implementations§
impl<H> Freeze for Handle<H>where
H: Freeze,
impl<H> RefUnwindSafe for Handle<H>where
H: RefUnwindSafe,
impl<H> Send for Handle<H>where
H: Send,
impl<H> Sync for Handle<H>where
H: Sync,
impl<H> Unpin for Handle<H>where
H: Unpin,
impl<H> UnwindSafe for Handle<H>where
H: UnwindSafe,
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