Expand description
Tensor NDIM >= 1
Fields
size: usizeImplementations
Trait Implementations
sourceimpl<T, const NDIM: usize> Index<[usize; NDIM]> for Tensor<T, NDIM>
impl<T, const NDIM: usize> Index<[usize; NDIM]> for Tensor<T, NDIM>
https://doc.rust-lang.org/std/ops/trait.Index.html
Auto Trait Implementations
impl<T, const NDIM: usize> RefUnwindSafe for Tensor<T, NDIM> where
T: RefUnwindSafe,
impl<T, const NDIM: usize> Send for Tensor<T, NDIM> where
T: Send,
impl<T, const NDIM: usize> Sync for Tensor<T, NDIM> where
T: Sync,
impl<T, const NDIM: usize> Unpin for Tensor<T, NDIM> where
T: Unpin,
impl<T, const NDIM: usize> UnwindSafe for Tensor<T, NDIM> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more