#[repr(C)]pub struct ThreadCtxSwitch {
pub to: Option<ObjID>,
}
Expand description
Event data for thread context switches.
Fields§
§to: Option<ObjID>
ID of the thread being switched to, if any.
Trait Implementations§
Source§impl Clone for ThreadCtxSwitch
impl Clone for ThreadCtxSwitch
Source§fn clone(&self) -> ThreadCtxSwitch
fn clone(&self) -> ThreadCtxSwitch
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 ThreadCtxSwitch
impl Debug for ThreadCtxSwitch
Source§impl TraceDataCast for ThreadCtxSwitch
impl TraceDataCast for ThreadCtxSwitch
impl Copy for ThreadCtxSwitch
Auto Trait Implementations§
impl Freeze for ThreadCtxSwitch
impl ObjSafe for ThreadCtxSwitch
impl RefUnwindSafe for ThreadCtxSwitch
impl Send for ThreadCtxSwitch
impl Sync for ThreadCtxSwitch
impl Unpin for ThreadCtxSwitch
impl UnwindSafe for ThreadCtxSwitch
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