Struct thread_priority::ThreadPriorityOsValue
source · pub struct ThreadPriorityOsValue(_);
Expand description
Platform-specific thread priority value.
Trait Implementations§
source§impl Clone for ThreadPriorityOsValue
impl Clone for ThreadPriorityOsValue
source§fn clone(&self) -> ThreadPriorityOsValue
fn clone(&self) -> ThreadPriorityOsValue
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 ThreadPriorityOsValue
impl Debug for ThreadPriorityOsValue
source§impl Default for ThreadPriorityOsValue
impl Default for ThreadPriorityOsValue
source§fn default() -> ThreadPriorityOsValue
fn default() -> ThreadPriorityOsValue
Returns the “default value” for a type. Read more
source§impl Hash for ThreadPriorityOsValue
impl Hash for ThreadPriorityOsValue
source§impl Ord for ThreadPriorityOsValue
impl Ord for ThreadPriorityOsValue
source§fn cmp(&self, other: &ThreadPriorityOsValue) -> Ordering
fn cmp(&self, other: &ThreadPriorityOsValue) -> 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 PartialEq<ThreadPriorityOsValue> for ThreadPriorityOsValue
impl PartialEq<ThreadPriorityOsValue> for ThreadPriorityOsValue
source§fn eq(&self, other: &ThreadPriorityOsValue) -> bool
fn eq(&self, other: &ThreadPriorityOsValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ThreadPriorityOsValue> for ThreadPriorityOsValue
impl PartialOrd<ThreadPriorityOsValue> for ThreadPriorityOsValue
source§fn partial_cmp(&self, other: &ThreadPriorityOsValue) -> Option<Ordering>
fn partial_cmp(&self, other: &ThreadPriorityOsValue) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more