pub struct FlatView {
pub ranges: Vec<FlatRange>,
}Fields§
§ranges: Vec<FlatRange>Implementations§
Source§impl FlatView
impl FlatView
Sourcepub fn from_region(root: &MemoryRegion) -> Self
pub fn from_region(root: &MemoryRegion) -> Self
Flatten a MemoryRegion tree into a sorted,
non-overlapping list of FlatRanges. Higher-priority
regions win when ranges overlap.
Auto Trait Implementations§
impl Freeze for FlatView
impl RefUnwindSafe for FlatView
impl Send for FlatView
impl Sync for FlatView
impl Unpin for FlatView
impl UnsafeUnpin for FlatView
impl UnwindSafe for FlatView
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