pub enum RelativePerformance {
Best = 0,
Better = 1,
Good = 2,
Degraded = 3,
}
Variants§
Trait Implementations§
source§impl CheckDiscriminantInRange<[(); 0]> for RelativePerformance
impl CheckDiscriminantInRange<[(); 0]> for RelativePerformance
source§impl CheckDiscriminantInRange<[(); 1]> for RelativePerformance
impl CheckDiscriminantInRange<[(); 1]> for RelativePerformance
source§impl CheckDiscriminantInRange<[(); 3]> for RelativePerformance
impl CheckDiscriminantInRange<[(); 3]> for RelativePerformance
source§impl CheckDiscriminantInRange<[(); 2]> for RelativePerformance
impl CheckDiscriminantInRange<[(); 2]> for RelativePerformance
source§impl Clone for RelativePerformance
impl Clone for RelativePerformance
source§fn clone(&self) -> RelativePerformance
fn clone(&self) -> RelativePerformance
Returns a copy 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 Debug for RelativePerformance
impl Debug for RelativePerformance
source§impl Specifier for RelativePerformance
impl Specifier for RelativePerformance
source§type InOut = RelativePerformance
type InOut = RelativePerformance
The interface type of the specifier. Read more
source§fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>
fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>
Converts some bytes into the in-out type. Read more
source§fn from_bytes(
bytes: Self::Bytes,
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
fn from_bytes( bytes: Self::Bytes, ) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
Converts the given bytes into the in-out type. Read more
Auto Trait Implementations§
impl Freeze for RelativePerformance
impl RefUnwindSafe for RelativePerformance
impl Send for RelativePerformance
impl Sync for RelativePerformance
impl Unpin for RelativePerformance
impl UnwindSafe for RelativePerformance
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)