pub struct Watchpoint {
pub addr: u64,
pub n_bytes: u64,
}
Expand description
A descriptor for a watchpoint. The particular semantics of the watchpoint (watching memory for read or write access) are addressed elsewhere.
Fields§
§addr: u64
The address.
n_bytes: u64
The number of bytes covered.
Trait Implementations§
Source§impl Clone for Watchpoint
impl Clone for Watchpoint
Source§fn clone(&self) -> Watchpoint
fn clone(&self) -> Watchpoint
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 Watchpoint
impl Debug for Watchpoint
Source§impl PartialEq for Watchpoint
impl PartialEq for Watchpoint
impl Copy for Watchpoint
impl StructuralPartialEq for Watchpoint
Auto Trait Implementations§
impl Freeze for Watchpoint
impl RefUnwindSafe for Watchpoint
impl Send for Watchpoint
impl Sync for Watchpoint
impl Unpin for Watchpoint
impl UnwindSafe for Watchpoint
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