pub struct Gap {
pub lba_start: u64,
pub lba_end: u64,
pub byte_size: u64,
pub kind: GapKind,
}Expand description
A region of unpartitioned disk space.
Fields§
§lba_start: u64First LBA of the unpartitioned region.
lba_end: u64Last LBA of the unpartitioned region (inclusive).
byte_size: u64Size in bytes ((lba_end - lba_start + 1) * sector_size).
kind: GapKindWhy this gap exists in the layout.
Trait Implementations§
impl Eq for Gap
impl StructuralPartialEq for Gap
Auto Trait Implementations§
impl Freeze for Gap
impl RefUnwindSafe for Gap
impl Send for Gap
impl Sync for Gap
impl Unpin for Gap
impl UnsafeUnpin for Gap
impl UnwindSafe for Gap
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