#[repr(C)]
pub struct Thread {
Show 15 fields pub self_ref: *mut Thread, pub state: ThreadState, pub owns_stack: bool, pub pad: [u8; 2], pub handle: Handle, pub stack: *mut u8, pub stack_size: usize, pub reserved: [u8; 38], pub version: u16, pub reserved_2: [u8; 248], pub entry: Option<ThreadEntry>, pub reserved_3: [u8; 40], pub name: ThreadName, pub name_addr: *mut u8, pub reserved_4: [u8; 32],
}

Fields

self_ref: *mut Threadstate: ThreadStateowns_stack: boolpad: [u8; 2]handle: Handlestack: *mut u8stack_size: usizereserved: [u8; 38]version: u16reserved_2: [u8; 248]entry: Option<ThreadEntry>reserved_3: [u8; 40]name: ThreadNamename_addr: *mut u8reserved_4: [u8; 32]

Implementations

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.