#[repr(C)]pub struct rb_thread_sched {
pub lock_: rb_nativethread_lock_t,
pub running: *mut rb_thread_struct,
pub is_running: bool,
pub is_running_timeslice: bool,
pub enable_mn_threads: bool,
pub readyq: ccan_list_head,
pub readyq_cnt: c_int,
pub grq_node: ccan_list_node,
}
Fields§
§lock_: rb_nativethread_lock_t
§running: *mut rb_thread_struct
§is_running: bool
§is_running_timeslice: bool
§enable_mn_threads: bool
§readyq: ccan_list_head
§readyq_cnt: c_int
§grq_node: ccan_list_node
Trait Implementations§
Source§impl Clone for rb_thread_sched
impl Clone for rb_thread_sched
Source§fn clone(&self) -> rb_thread_sched
fn clone(&self) -> rb_thread_sched
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 rb_thread_sched
impl Debug for rb_thread_sched
impl Copy for rb_thread_sched
Auto Trait Implementations§
impl Freeze for rb_thread_sched
impl RefUnwindSafe for rb_thread_sched
impl !Send for rb_thread_sched
impl !Sync for rb_thread_sched
impl Unpin for rb_thread_sched
impl UnwindSafe for rb_thread_sched
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