pub enum Alignment {
Mib1,
LegacyTrack,
Unaligned,
}Expand description
Alignment class of a partition’s start LBA.
Variants§
Mib1
Aligned to a 1 MiB / 2048-sector boundary (modern convention).
LegacyTrack
Exactly LBA 63 — the legacy end-of-first-track convention.
Unaligned
Neither convention — unusual; a possible hand-editing hint.
Trait Implementations§
impl Copy for Alignment
impl Eq for Alignment
impl StructuralPartialEq for Alignment
Auto Trait Implementations§
impl Freeze for Alignment
impl RefUnwindSafe for Alignment
impl Send for Alignment
impl Sync for Alignment
impl Unpin for Alignment
impl UnsafeUnpin for Alignment
impl UnwindSafe for Alignment
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