Struct haybale::watchpoints::Watchpoint
source · pub struct Watchpoint { /* private fields */ }
Expand description
A Watchpoint
describes a segment of memory to watch.
Implementations§
source§impl Watchpoint
impl Watchpoint
sourcepub fn new(addr: u64, bytes: u64) -> Self
pub fn new(addr: u64, bytes: u64) -> Self
A memory watchpoint for the bytes
bytes of memory at the given constant
memory address.
sourcepub fn get_lower_bound(&self) -> u64
pub fn get_lower_bound(&self) -> u64
Get the lower bound of the memory segment being watched (inclusive).
sourcepub fn get_upper_bound(&self) -> u64
pub fn get_upper_bound(&self) -> u64
Get the upper bound of the memory segment being watched (inclusive).
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 Display for Watchpoint
impl Display for Watchpoint
source§impl Hash for Watchpoint
impl Hash for Watchpoint
source§impl PartialEq for Watchpoint
impl PartialEq for Watchpoint
source§fn eq(&self, other: &Watchpoint) -> bool
fn eq(&self, other: &Watchpoint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Watchpoint
impl StructuralEq for Watchpoint
impl StructuralPartialEq for Watchpoint
Auto Trait Implementations§
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