pub struct Shape<D> { /* private fields */ }
Expand description
A contiguous array shape of n dimensions.
Either c- or f- memory ordered (c a.k.a row major is the default).
Implementations
Trait Implementations
sourceimpl<D> ShapeBuilder for Shape<D> where
D: Dimension,
impl<D> ShapeBuilder for Shape<D> where
D: Dimension,
impl<D> Copy for Shape<D> where
D: Copy,
Auto Trait Implementations
impl<D> RefUnwindSafe for Shape<D> where
D: RefUnwindSafe,
impl<D> Send for Shape<D> where
D: Send,
impl<D> Sync for Shape<D> where
D: Sync,
impl<D> Unpin for Shape<D> where
D: Unpin,
impl<D> UnwindSafe for Shape<D> where
D: 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