#[repr(C)]pub struct spawn_args {
pub stack_size: usize,
pub start: usize,
pub arg: usize,
}
Expand description
Arguments to spawn
Fields§
§stack_size: usize
Size of stack to allocate
start: usize
Starting address
arg: usize
Starting argument
Trait Implementations§
source§impl Clone for spawn_args
impl Clone for spawn_args
source§fn clone(&self) -> spawn_args
fn clone(&self) -> spawn_args
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 spawn_args
impl Debug for spawn_args
impl Copy for spawn_args
Auto Trait Implementations§
impl Freeze for spawn_args
impl RefUnwindSafe for spawn_args
impl Send for spawn_args
impl Sync for spawn_args
impl Unpin for spawn_args
impl UnwindSafe for spawn_args
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)