#[repr(transparent)]pub struct QualityOfService(pub Integer);Tuple Fields§
§0: IntegerImplementations§
Source§impl QualityOfService
impl QualityOfService
pub const USER_INTERACTIVE: Self
pub const USER_INITIATED: Self
pub const UTILITY: Self
pub const BACKGROUND: Self
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for QualityOfService
impl Clone for QualityOfService
Source§fn clone(&self) -> QualityOfService
fn clone(&self) -> QualityOfService
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for QualityOfService
Source§impl Debug for QualityOfService
impl Debug for QualityOfService
Source§impl Default for QualityOfService
impl Default for QualityOfService
impl Eq for QualityOfService
Source§impl Ord for QualityOfService
impl Ord for QualityOfService
Source§fn cmp(&self, other: &QualityOfService) -> Ordering
fn cmp(&self, other: &QualityOfService) -> Ordering
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
Source§impl PartialEq for QualityOfService
impl PartialEq for QualityOfService
Source§fn eq(&self, other: &QualityOfService) -> bool
fn eq(&self, other: &QualityOfService) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for QualityOfService
impl PartialOrd for QualityOfService
impl StructuralPartialEq for QualityOfService
Auto Trait Implementations§
impl Freeze for QualityOfService
impl RefUnwindSafe for QualityOfService
impl Send for QualityOfService
impl Sync for QualityOfService
impl Unpin for QualityOfService
impl UnsafeUnpin for QualityOfService
impl UnwindSafe for QualityOfService
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