Trait probe_rs_target::MemoryRange
source · [−]pub trait MemoryRange {
fn contains_range(&self, range: &Range<u64>) -> bool;
fn intersects_range(&self, range: &Range<u64>) -> bool;
}
Expand description
Enables the user to do range intersection testing.
Required Methods
fn contains_range(&self, range: &Range<u64>) -> bool
fn contains_range(&self, range: &Range<u64>) -> bool
Returns true if self
contains range
fully.
fn intersects_range(&self, range: &Range<u64>) -> bool
fn intersects_range(&self, range: &Range<u64>) -> bool
Returns true if self
intersects range
partially.