#[repr(C)]pub struct rb_global_vm_lock_struct {
pub owner: *const rb_thread_struct,
pub lock: rb_nativethread_lock_t,
pub waitq: 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
owner: *const rb_thread_struct
lock: rb_nativethread_lock_t
waitq: 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
sourceimpl Clone for rb_global_vm_lock_struct
impl Clone for rb_global_vm_lock_struct
sourcefn clone(&self) -> rb_global_vm_lock_struct
fn clone(&self) -> rb_global_vm_lock_struct
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for rb_global_vm_lock_struct
impl Debug for rb_global_vm_lock_struct
impl Copy for rb_global_vm_lock_struct
Auto Trait Implementations
impl RefUnwindSafe for rb_global_vm_lock_struct
impl !Send for rb_global_vm_lock_struct
impl !Sync for rb_global_vm_lock_struct
impl Unpin for rb_global_vm_lock_struct
impl UnwindSafe for rb_global_vm_lock_struct
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more