Struct r_core::r_core_task_t[][src]

#[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_intstate: RTaskStatetransient: boolrefcount: c_intrunning_sem: *mut RThreadSemaphoreuser: *mut c_voidcore: *mut RCoredispatched: booldispatch_cond: *mut RThreadConddispatch_lock: *mut RThreadLockthread: *mut RThreadcmd: *mut c_charres: *mut c_charcmd_log: boolcons_context: *mut RConsContextcb: RCoreTaskCallback

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.