pub struct TensorViewMut<'a, T> {
pub data: &'a mut [T],
pub shape: &'a [usize],
}Fields§
§data: &'a mut [T]§shape: &'a [usize]Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for TensorViewMut<'a, T>
impl<'a, T> RefUnwindSafe for TensorViewMut<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for TensorViewMut<'a, T>where
T: Send,
impl<'a, T> Sync for TensorViewMut<'a, T>where
T: Sync,
impl<'a, T> Unpin for TensorViewMut<'a, T>
impl<'a, T> UnsafeUnpin for TensorViewMut<'a, T>
impl<'a, T> !UnwindSafe for TensorViewMut<'a, T>
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