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: RawQuality + Clone,
impl<const N: isize, Q> Clone for ConstInterval<N, Q>where
Q: RawQuality + Clone,
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: RawQuality + Default,
impl<const N: isize, Q> Default for ConstInterval<N, Q>where
Q: RawQuality + Default,
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: RawQuality + Hash,
impl<const N: isize, Q> Hash for ConstInterval<N, Q>where
Q: RawQuality + Hash,
Source§impl<const N: isize, Q> Ord for ConstInterval<N, Q>where
Q: RawQuality + Ord,
impl<const N: isize, Q> Ord for ConstInterval<N, Q>where
Q: RawQuality + Ord,
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: RawQuality + PartialEq,
impl<const N: isize, Q> PartialEq for ConstInterval<N, Q>where
Q: RawQuality + PartialEq,
Source§impl<const N: isize, Q> PartialOrd for ConstInterval<N, Q>where
Q: RawQuality + PartialOrd,
impl<const N: isize, Q> PartialOrd for ConstInterval<N, Q>where
Q: RawQuality + PartialOrd,
impl<const N: isize, Q> Copy for ConstInterval<N, Q>where
Q: RawQuality + Copy,
impl<const N: isize, Q> Eq for ConstInterval<N, Q>where
Q: RawQuality + Eq,
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> 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