pub struct Dimensions<D1, D2, D3 = ()>(pub D1, pub D2, pub D3);
Tuple Fields§
§0: D1
§1: D2
§2: D3
Trait Implementations§
Source§impl<D1: Clone, D2: Clone, D3: Clone> Clone for Dimensions<D1, D2, D3>
impl<D1: Clone, D2: Clone, D3: Clone> Clone for Dimensions<D1, D2, D3>
Source§fn clone(&self) -> Dimensions<D1, D2, D3>
fn clone(&self) -> Dimensions<D1, D2, D3>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<D1: Default, D2: Default, D3: Default> Default for Dimensions<D1, D2, D3>
impl<D1: Default, D2: Default, D3: Default> Default for Dimensions<D1, D2, D3>
Source§fn default() -> Dimensions<D1, D2, D3>
fn default() -> Dimensions<D1, D2, D3>
Returns the “default value” for a type. Read more
Source§impl<'a, T: Summary, D1: Dimension<'a, T>, D2: Dimension<'a, T>, D3: Dimension<'a, T>> Dimension<'a, T> for Dimensions<D1, D2, D3>
impl<'a, T: Summary, D1: Dimension<'a, T>, D2: Dimension<'a, T>, D3: Dimension<'a, T>> Dimension<'a, T> for Dimensions<D1, D2, D3>
Source§impl<D1: Ord, D2: Ord, D3: Ord> Ord for Dimensions<D1, D2, D3>
impl<D1: Ord, D2: Ord, D3: Ord> Ord for Dimensions<D1, D2, D3>
Source§fn cmp(&self, other: &Dimensions<D1, D2, D3>) -> Ordering
fn cmp(&self, other: &Dimensions<D1, D2, D3>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<D1: PartialOrd, D2: PartialOrd, D3: PartialOrd> PartialOrd for Dimensions<D1, D2, D3>
impl<D1: PartialOrd, D2: PartialOrd, D3: PartialOrd> PartialOrd for Dimensions<D1, D2, D3>
impl<D1: Copy, D2: Copy, D3: Copy> Copy for Dimensions<D1, D2, D3>
impl<D1: Eq, D2: Eq, D3: Eq> Eq for Dimensions<D1, D2, D3>
impl<D1, D2, D3> StructuralPartialEq for Dimensions<D1, D2, D3>
Auto Trait Implementations§
impl<D1, D2, D3> Freeze for Dimensions<D1, D2, D3>
impl<D1, D2, D3> RefUnwindSafe for Dimensions<D1, D2, D3>
impl<D1, D2, D3> Send for Dimensions<D1, D2, D3>
impl<D1, D2, D3> Sync for Dimensions<D1, D2, D3>
impl<D1, D2, D3> Unpin for Dimensions<D1, D2, D3>
impl<D1, D2, D3> UnwindSafe for Dimensions<D1, D2, D3>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more