pub struct ConstInterval<const N: isize, Q>where
Q: RawQuality,{
pub quality: Q,
}Fields§
§quality: Qthe quality of the interval
Trait Implementations§
Source§impl<const N: isize, Q> Clone for ConstInterval<N, Q>where
Q: Clone + RawQuality,
impl<const N: isize, Q> Clone for ConstInterval<N, Q>where
Q: Clone + RawQuality,
Source§fn clone(&self) -> ConstInterval<N, Q>
fn clone(&self) -> ConstInterval<N, Q>
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<const N: isize, Q> Default for ConstInterval<N, Q>where
Q: Default + RawQuality,
impl<const N: isize, Q> Default for ConstInterval<N, Q>where
Q: Default + RawQuality,
Source§fn default() -> ConstInterval<N, Q>
fn default() -> ConstInterval<N, Q>
Returns the “default value” for a type. Read more
Source§impl<const N: isize, Q> Hash for ConstInterval<N, Q>where
Q: Hash + RawQuality,
impl<const N: isize, Q> Hash for ConstInterval<N, Q>where
Q: Hash + RawQuality,
Source§impl<const N: isize, Q> Ord for ConstInterval<N, Q>where
Q: Ord + RawQuality,
impl<const N: isize, Q> Ord for ConstInterval<N, Q>where
Q: Ord + RawQuality,
Source§fn cmp(&self, other: &ConstInterval<N, Q>) -> Ordering
fn cmp(&self, other: &ConstInterval<N, Q>) -> 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<const N: isize, Q> PartialEq for ConstInterval<N, Q>where
Q: PartialEq + RawQuality,
impl<const N: isize, Q> PartialEq for ConstInterval<N, Q>where
Q: PartialEq + RawQuality,
Source§impl<const N: isize, Q> PartialOrd for ConstInterval<N, Q>where
Q: PartialOrd + RawQuality,
impl<const N: isize, Q> PartialOrd for ConstInterval<N, Q>where
Q: PartialOrd + RawQuality,
impl<const N: isize, Q> Copy for ConstInterval<N, Q>where
Q: Copy + RawQuality,
impl<const N: isize, Q> Eq for ConstInterval<N, Q>where
Q: Eq + RawQuality,
impl<const N: isize, Q> StructuralPartialEq for ConstInterval<N, Q>where
Q: RawQuality,
Auto Trait Implementations§
impl<const N: isize, Q> Freeze for ConstInterval<N, Q>where
Q: Freeze,
impl<const N: isize, Q> RefUnwindSafe for ConstInterval<N, Q>where
Q: RefUnwindSafe,
impl<const N: isize, Q> Send for ConstInterval<N, Q>
impl<const N: isize, Q> Sync for ConstInterval<N, Q>
impl<const N: isize, Q> Unpin for ConstInterval<N, Q>where
Q: Unpin,
impl<const N: isize, Q> UnwindSafe for ConstInterval<N, Q>where
Q: UnwindSafe,
Blanket Implementations§
Source§impl<T> AsWeight<T> for Twhere
T: Clone + IntoWeight<T>,
impl<T> AsWeight<T> for Twhere
T: Clone + IntoWeight<T>,
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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