#[repr(C)]pub struct threadattr {
pub entry_point: threadentry,
pub stack: (*mut (), usize),
pub argument: *mut (),
}Expand description
Attributes for thread creation.
Fields§
§entry_point: threadentryInitial program counter value.
stack: (*mut (), usize)Region allocated to serve as stack space.
argument: *mut ()Argument to be forwarded to the entry point function.
Trait Implementations§
Source§impl Clone for threadattr
impl Clone for threadattr
Source§fn clone(&self) -> threadattr
fn clone(&self) -> threadattr
Returns a duplicate 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 moreimpl Copy for threadattr
Auto Trait Implementations§
impl Freeze for threadattr
impl RefUnwindSafe for threadattr
impl !Send for threadattr
impl !Sync for threadattr
impl Unpin for threadattr
impl UnwindSafe for threadattr
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