[−][src]Struct thread_priority::Thread
Represents an OS thread.
Fields
priority: ThreadPriority
Thread's priority.
id: ThreadId
Thread's ID (or handle).
Methods
impl Thread
[src]
Trait Implementations
impl Clone for Thread
[src]
impl Copy for Thread
[src]
impl Debug for Thread
[src]
impl Eq for Thread
[src]
impl Ord for Thread
[src]
fn cmp(&self, other: &Thread) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Thread> for Thread
[src]
impl PartialOrd<Thread> for Thread
[src]
fn partial_cmp(&self, other: &Thread) -> Option<Ordering>
[src]
fn lt(&self, other: &Thread) -> bool
[src]
fn le(&self, other: &Thread) -> bool
[src]
fn gt(&self, other: &Thread) -> bool
[src]
fn ge(&self, other: &Thread) -> bool
[src]
impl StructuralEq for Thread
[src]
impl StructuralPartialEq for Thread
[src]
Auto Trait Implementations
impl RefUnwindSafe for Thread
impl Send for Thread
impl Sync for Thread
impl Unpin for Thread
impl UnwindSafe for Thread
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,