#[repr(C)]pub struct r_core_task_t {Show 16 fields
pub id: c_int,
pub state: RTaskState,
pub transient: bool,
pub refcount: c_int,
pub running_sem: *mut RThreadSemaphore,
pub user: *mut c_void,
pub core: *mut RCore,
pub dispatched: bool,
pub dispatch_cond: *mut RThreadCond,
pub dispatch_lock: *mut RThreadLock,
pub thread: *mut RThread,
pub cmd: *mut c_char,
pub res: *mut c_char,
pub cmd_log: bool,
pub cons_context: *mut RConsContext,
pub cb: RCoreTaskCallback,
}
Fields§
§id: c_int
§state: RTaskState
§transient: bool
§refcount: c_int
§running_sem: *mut RThreadSemaphore
§user: *mut c_void
§core: *mut RCore
§dispatched: bool
§dispatch_cond: *mut RThreadCond
§dispatch_lock: *mut RThreadLock
§thread: *mut RThread
§cmd: *mut c_char
§res: *mut c_char
§cmd_log: bool
§cons_context: *mut RConsContext
§cb: RCoreTaskCallback
Trait Implementations§
Source§impl Clone for r_core_task_t
impl Clone for r_core_task_t
Source§fn clone(&self) -> r_core_task_t
fn clone(&self) -> r_core_task_t
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 moreSource§impl Debug for r_core_task_t
impl Debug for r_core_task_t
impl Copy for r_core_task_t
Auto Trait Implementations§
impl Freeze for r_core_task_t
impl RefUnwindSafe for r_core_task_t
impl !Send for r_core_task_t
impl !Sync for r_core_task_t
impl Unpin for r_core_task_t
impl UnwindSafe for r_core_task_t
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