pub struct ThreadState {
pub flavor: u32,
pub registers: Vec<u32>,
}Expand description
Thread state register values.
Fields§
§flavor: u32Mach thread state flavor (e.g., x86_THREAD_STATE = 7, ARM_THREAD_STATE64 = 6).
registers: Vec<u32>Raw register values as 32-bit words. 64-bit registers span two consecutive words.
Trait Implementations§
Source§impl Clone for ThreadState
impl Clone for ThreadState
Source§fn clone(&self) -> ThreadState
fn clone(&self) -> ThreadState
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 moreAuto Trait Implementations§
impl Freeze for ThreadState
impl RefUnwindSafe for ThreadState
impl Send for ThreadState
impl Sync for ThreadState
impl Unpin for ThreadState
impl UnsafeUnpin for ThreadState
impl UnwindSafe for ThreadState
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