Struct rbspy_ruby_structs::ruby_3_2_1::rb_thread_sched
source · #[repr(C)]pub struct rb_thread_sched {
pub running: *const rb_thread_struct,
pub lock: rb_nativethread_lock_t,
pub readyq: ccan_list_head,
pub timer: *const rb_thread_struct,
pub timer_err: c_int,
pub switch_cond: rb_nativethread_cond_t,
pub switch_wait_cond: rb_nativethread_cond_t,
pub need_yield: c_int,
pub wait_yield: c_int,
}
Fields§
§running: *const rb_thread_struct
§lock: rb_nativethread_lock_t
§readyq: ccan_list_head
§timer: *const rb_thread_struct
§timer_err: c_int
§switch_cond: rb_nativethread_cond_t
§switch_wait_cond: rb_nativethread_cond_t
§need_yield: c_int
§wait_yield: c_int
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 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 rb_thread_sched
impl Debug for rb_thread_sched
impl Copy for rb_thread_sched
Auto Trait Implementations§
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