pub struct DimensionSlice {
pub start: usize,
pub length: usize,
}Fields§
§start: usize§length: usizeTrait Implementations§
Source§impl Clone for DimensionSlice
impl Clone for DimensionSlice
Source§fn clone(&self) -> DimensionSlice
fn clone(&self) -> DimensionSlice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DimensionSlice
impl Debug for DimensionSlice
Source§impl Default for DimensionSlice
impl Default for DimensionSlice
Source§fn default() -> DimensionSlice
fn default() -> DimensionSlice
Returns the “default value” for a type. Read more
Source§impl PartialEq for DimensionSlice
impl PartialEq for DimensionSlice
Source§fn eq(&self, other: &DimensionSlice) -> bool
fn eq(&self, other: &DimensionSlice) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DimensionSlice
impl Eq for DimensionSlice
impl StructuralPartialEq for DimensionSlice
Auto Trait Implementations§
impl Freeze for DimensionSlice
impl RefUnwindSafe for DimensionSlice
impl Send for DimensionSlice
impl Sync for DimensionSlice
impl Unpin for DimensionSlice
impl UnsafeUnpin for DimensionSlice
impl UnwindSafe for DimensionSlice
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