Trait probe_rs::config::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§
sourcefn contains_range(&self, range: &Range<u64>) -> bool
fn contains_range(&self, range: &Range<u64>) -> bool
Returns true if self
contains range
fully.
sourcefn intersects_range(&self, range: &Range<u64>) -> bool
fn intersects_range(&self, range: &Range<u64>) -> bool
Returns true if self
intersects range
partially.