#[repr(C)]pub struct thread_state_base {
pub vtime: ddsrt_atomic_uint32_t,
pub state: thread_state,
pub gv: ddsrt_atomic_voidp_t,
pub tid: ddsrt_thread_t,
pub f: Option<unsafe extern "C" fn(arg: *mut c_void) -> u32>,
pub f_arg: *mut c_void,
pub name: [c_char; 24],
}
Fields§
§vtime: ddsrt_atomic_uint32_t
§state: thread_state
§gv: ddsrt_atomic_voidp_t
§tid: ddsrt_thread_t
§f: Option<unsafe extern "C" fn(arg: *mut c_void) -> u32>
§f_arg: *mut c_void
§name: [c_char; 24]
Trait Implementations§
Source§impl Clone for thread_state_base
impl Clone for thread_state_base
Source§fn clone(&self) -> thread_state_base
fn clone(&self) -> thread_state_base
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 thread_state_base
impl Debug for thread_state_base
impl Copy for thread_state_base
Auto Trait Implementations§
impl Freeze for thread_state_base
impl RefUnwindSafe for thread_state_base
impl !Send for thread_state_base
impl !Sync for thread_state_base
impl Unpin for thread_state_base
impl UnwindSafe for thread_state_base
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