pub struct Ix4 { /* private fields */ }Expand description
A fixed-rank dimension with 4 axes.
Implementations§
Trait Implementations§
Source§impl Dimension for Ix4
impl Dimension for Ix4
Source§type Smaller = Ix3
type Smaller = Ix3
Dimension type produced by removing one axis (#349). Mirrors
ndarray’s
RemoveAxis::Smaller. Used to express the rank of
index_axis and remove_axis results at the type level so
Array<T, Ix2>::index_axis(...) returns ArrayView<T, Ix1>
instead of ArrayView<T, IxDyn>. Read moreSource§type Larger = Ix5
type Larger = Ix5
Dimension type produced by inserting one axis (#349). Mirrors
ndarray’s
Larger. Used by insert_axis to preserve compile-
time rank. Read moreSource§fn as_slice_mut(&mut self) -> &mut [usize]
fn as_slice_mut(&mut self) -> &mut [usize]
Return the shape as a mutable slice.
impl Eq for Ix4
impl StructuralPartialEq for Ix4
Auto Trait Implementations§
impl Freeze for Ix4
impl RefUnwindSafe for Ix4
impl Send for Ix4
impl Sync for Ix4
impl Unpin for Ix4
impl UnsafeUnpin for Ix4
impl UnwindSafe for Ix4
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