pub type thread_affinity_policy_data_t = thread_affinity_policy;

Aliased Type§

struct thread_affinity_policy_data_t {
    pub affinity_tag: i32,
}

Fields§

§affinity_tag: i32

Trait Implementations§

source§

impl Clone for thread_affinity_policy

source§

fn clone(&self) -> thread_affinity_policy

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for thread_affinity_policy

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for thread_affinity_policy

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<thread_affinity_policy> for thread_affinity_policy

source§

fn eq(&self, other: &thread_affinity_policy) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for thread_affinity_policy

source§

impl Eq for thread_affinity_policy

source§

impl StructuralEq for thread_affinity_policy

source§

impl StructuralPartialEq for thread_affinity_policy