pub struct View<T> { /* private fields */ }Expand description
A reference to a any tensor
Trait Implementations§
Source§impl<H> TensorType for View<&H>
impl<H> TensorType for View<&H>
Source§impl<H> TensorType for View<&mut H>
impl<H> TensorType for View<&mut H>
impl<H> MutableTensorType for View<&mut H>
Auto Trait Implementations§
impl<T> Freeze for View<T>
impl<T> RefUnwindSafe for View<T>where
T: RefUnwindSafe,
impl<T> Send for View<T>where
T: Send,
impl<T> Sync for View<T>where
T: Sync,
impl<T> Unpin for View<T>where
T: Unpin,
impl<T> UnsafeUnpin for View<T>
impl<T> UnwindSafe for View<T>where
T: 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