Trait embedded_storage::iter::IterableByOverlaps
source · pub trait IterableByOverlaps<'a, R, I>{
// Required method
fn overlaps(
self,
memory: &'a [u8],
base_address: u32
) -> OverlapIterator<'_, R, I> ⓘ;
}
Expand description
Trait allowing us to automatically add an overlaps
function to all iterators over Region
Required Methods§
sourcefn overlaps(
self,
memory: &'a [u8],
base_address: u32
) -> OverlapIterator<'_, R, I> ⓘ
fn overlaps( self, memory: &'a [u8], base_address: u32 ) -> OverlapIterator<'_, R, I> ⓘ
Obtain an OverlapIterator
over a subslice of memory
that overlaps with the region in self