#[repr(C)]pub struct rb_thread_sched_item {
pub node: rb_thread_sched_item__bindgen_ty_1,
pub waiting_reason: rb_thread_sched_item__bindgen_ty_2,
pub finished: bool,
pub malloc_stack: bool,
pub context_stack: *mut c_void,
pub context: *mut coroutine_context,
}Fields§
§node: rb_thread_sched_item__bindgen_ty_1§waiting_reason: rb_thread_sched_item__bindgen_ty_2§finished: bool§malloc_stack: bool§context_stack: *mut c_void§context: *mut coroutine_contextTrait Implementations§
Source§impl Clone for rb_thread_sched_item
impl Clone for rb_thread_sched_item
Source§fn clone(&self) -> rb_thread_sched_item
fn clone(&self) -> rb_thread_sched_item
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_item
impl Debug for rb_thread_sched_item
impl Copy for rb_thread_sched_item
Auto Trait Implementations§
impl Freeze for rb_thread_sched_item
impl RefUnwindSafe for rb_thread_sched_item
impl !Send for rb_thread_sched_item
impl !Sync for rb_thread_sched_item
impl Unpin for rb_thread_sched_item
impl UnwindSafe for rb_thread_sched_item
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)