pub struct SyscallPc(/* private fields */);Expand description
Type-safe API to allow APIs to accept only program counters coming from
syscall callbacks. To convert to integer of the width of your target, use the
.pc() method.
Implementations§
Trait Implementations§
Source§impl Ord for SyscallPc
impl Ord for SyscallPc
Source§impl PartialOrd for SyscallPc
impl PartialOrd for SyscallPc
impl Copy for SyscallPc
impl Eq for SyscallPc
impl StructuralPartialEq for SyscallPc
Auto Trait Implementations§
impl Freeze for SyscallPc
impl RefUnwindSafe for SyscallPc
impl Send for SyscallPc
impl Sync for SyscallPc
impl Unpin for SyscallPc
impl UnwindSafe for SyscallPc
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