Struct twizzler_runtime_api::ThreadSpawnArgs
source · pub struct ThreadSpawnArgs {
pub stack_size: usize,
pub start: usize,
pub arg: usize,
}
Expand description
Arguments that std expects to pass to spawn.
Fields§
§stack_size: usize
The initial stack size
start: usize
The entry point
arg: usize
The argument to the entry point
Trait Implementations§
source§impl Clone for ThreadSpawnArgs
impl Clone for ThreadSpawnArgs
source§fn clone(&self) -> ThreadSpawnArgs
fn clone(&self) -> ThreadSpawnArgs
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 ThreadSpawnArgs
impl Debug for ThreadSpawnArgs
source§impl Ord for ThreadSpawnArgs
impl Ord for ThreadSpawnArgs
source§fn cmp(&self, other: &ThreadSpawnArgs) -> Ordering
fn cmp(&self, other: &ThreadSpawnArgs) -> 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<ThreadSpawnArgs> for ThreadSpawnArgs
impl PartialEq<ThreadSpawnArgs> for ThreadSpawnArgs
source§fn eq(&self, other: &ThreadSpawnArgs) -> bool
fn eq(&self, other: &ThreadSpawnArgs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ThreadSpawnArgs> for ThreadSpawnArgs
impl PartialOrd<ThreadSpawnArgs> for ThreadSpawnArgs
source§fn partial_cmp(&self, other: &ThreadSpawnArgs) -> Option<Ordering>
fn partial_cmp(&self, other: &ThreadSpawnArgs) -> 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 moreimpl Copy for ThreadSpawnArgs
impl Eq for ThreadSpawnArgs
impl StructuralEq for ThreadSpawnArgs
impl StructuralPartialEq for ThreadSpawnArgs
Auto Trait Implementations§
impl RefUnwindSafe for ThreadSpawnArgs
impl Send for ThreadSpawnArgs
impl Sync for ThreadSpawnArgs
impl Unpin for ThreadSpawnArgs
impl UnwindSafe for ThreadSpawnArgs
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