pub struct Dense;Expand description
Dense array layout type.
Trait Implementations§
source§impl Layout for Dense
 
impl Layout for Dense
§type NonUniform = General
 
type NonUniform = General
Corresponding layout which may have non-uniform stride.
§type NonUnitStrided = Flat
 
type NonUnitStrided = Flat
Corresponding layout which may have non-unit inner stride.
§type UnitStrided = Dense
 
type UnitStrided = Dense
Corresponding layout with unit inner stride.
§type Mapping<D: Dim> = DenseMapping<D>
 
type Mapping<D: Dim> = DenseMapping<D>
Array layout mapping type.
source§const IS_UNIFORM: bool = true
 
const IS_UNIFORM: bool = true
True if the layout type has uniform stride.
source§const IS_UNIT_STRIDED: bool = true
 
const IS_UNIT_STRIDED: bool = true
True if the layout type has unit inner stride.
impl Uniform for Dense
impl UnitStrided for Dense
Auto Trait Implementations§
impl RefUnwindSafe for Dense
impl Send for Dense
impl Sync for Dense
impl Unpin for Dense
impl UnwindSafe for Dense
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