#[repr(C)]pub struct rb_native_thread {
pub serial: rb_atomic_t,
pub vm: *mut rb_vm_struct,
pub thread_id: rb_nativethread_id_t,
pub tid: c_int,
pub running_thread: *mut rb_thread_struct,
pub cond: rb_native_thread__bindgen_ty_1,
pub altstack: *mut c_void,
pub nt_context: *mut coroutine_context,
pub dedicated: c_int,
pub machine_stack_maxsize: usize,
}
Fields§
§serial: rb_atomic_t
§vm: *mut rb_vm_struct
§thread_id: rb_nativethread_id_t
§tid: c_int
§running_thread: *mut rb_thread_struct
§cond: rb_native_thread__bindgen_ty_1
§altstack: *mut c_void
§nt_context: *mut coroutine_context
§dedicated: c_int
§machine_stack_maxsize: usize
Trait Implementations§
Source§impl Clone for rb_native_thread
impl Clone for rb_native_thread
Source§fn clone(&self) -> rb_native_thread
fn clone(&self) -> rb_native_thread
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_native_thread
impl Debug for rb_native_thread
impl Copy for rb_native_thread
Auto Trait Implementations§
impl Freeze for rb_native_thread
impl RefUnwindSafe for rb_native_thread
impl !Send for rb_native_thread
impl !Sync for rb_native_thread
impl Unpin for rb_native_thread
impl UnwindSafe for rb_native_thread
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