pub struct Nice(/* private fields */);Expand description
Linux-compatible nice value in the inclusive range -20..=19.
Implementations§
Trait Implementations§
impl Copy for Nice
impl Eq for Nice
Source§impl Ord for Nice
impl Ord for Nice
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Nice
impl PartialOrd for Nice
impl StructuralPartialEq for Nice
Auto Trait Implementations§
impl Freeze for Nice
impl RefUnwindSafe for Nice
impl Send for Nice
impl Sync for Nice
impl Unpin for Nice
impl UnsafeUnpin for Nice
impl UnwindSafe for Nice
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