#[non_exhaustive]pub enum Measurement<T = u64> {
Attempted {
value: T,
},
AtLeast {
value: T,
},
}Expand description
Stable attempted or lower-bound measurement.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Attempted
The exact attempted value is known.
Fields
§
value: TThe exact attempted value.
AtLeast
Bounded processing stopped after establishing this lower bound.
Fields
§
value: TThe established lower bound.
Trait Implementations§
Source§impl<T: Clone> Clone for Measurement<T>
impl<T: Clone> Clone for Measurement<T>
impl<T: Copy> Copy for Measurement<T>
Source§impl<T: Debug> Debug for Measurement<T>
impl<T: Debug> Debug for Measurement<T>
impl<T: Eq> Eq for Measurement<T>
Source§impl<T: PartialEq> PartialEq for Measurement<T>
impl<T: PartialEq> PartialEq for Measurement<T>
Source§impl<T> Serialize for Measurement<T>where
T: Serialize,
impl<T> Serialize for Measurement<T>where
T: Serialize,
impl<T: PartialEq> StructuralPartialEq for Measurement<T>
Auto Trait Implementations§
impl<T> Freeze for Measurement<T>where
T: Freeze,
impl<T> RefUnwindSafe for Measurement<T>where
T: RefUnwindSafe,
impl<T> Send for Measurement<T>where
T: Send,
impl<T> Sync for Measurement<T>where
T: Sync,
impl<T> Unpin for Measurement<T>where
T: Unpin,
impl<T> UnsafeUnpin for Measurement<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Measurement<T>where
T: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<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.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.