pub struct MainThread<K: Kernel> {
pub thread: ForeignRc<K::AtomicUsize, ThreadObject<K>>,
pub initial_pc: usize,
pub initial_sp: usize,
pub args: (usize, usize, usize),
}Fields§
§thread: ForeignRc<K::AtomicUsize, ThreadObject<K>>§initial_pc: usize§initial_sp: usize§args: (usize, usize, usize)Trait Implementations§
Source§impl<K: Clone + Kernel> Clone for MainThread<K>where
K::AtomicUsize: Clone,
impl<K: Clone + Kernel> Clone for MainThread<K>where
K::AtomicUsize: Clone,
Auto Trait Implementations§
impl<K> !RefUnwindSafe for MainThread<K>
impl<K> !UnwindSafe for MainThread<K>
impl<K> Forget for MainThread<K>
impl<K> Freeze for MainThread<K>
impl<K> Move for MainThread<K>
impl<K> Send for MainThread<K>
impl<K> Sync for MainThread<K>
impl<K> Unpin for MainThread<K>
impl<K> UnsafeUnpin for MainThread<K>
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)