pub struct DimPartition {
pub dim: usize,
pub offset: usize,
pub len: usize,
}Fields§
§dim: usize§offset: usize§len: usizeTrait Implementations§
Source§impl Clone for DimPartition
impl Clone for DimPartition
Source§fn clone(&self) -> DimPartition
fn clone(&self) -> DimPartition
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 DimPartition
impl Debug for DimPartition
impl Eq for DimPartition
Source§impl PartialEq for DimPartition
impl PartialEq for DimPartition
Source§fn eq(&self, other: &DimPartition) -> bool
fn eq(&self, other: &DimPartition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DimPartition
Auto Trait Implementations§
impl Freeze for DimPartition
impl RefUnwindSafe for DimPartition
impl Send for DimPartition
impl Sync for DimPartition
impl Unpin for DimPartition
impl UnsafeUnpin for DimPartition
impl UnwindSafe for DimPartition
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