pub struct VolumeIdx(pub usize);
Expand description
A VolumeIdx
is a number which identifies a volume (or partition) on a
disk. VolumeIdx(0)
is the first primary partition on an MBR partitioned
disk.
Tuple Fields§
§0: usize
Trait Implementations§
impl Copy for VolumeIdx
impl Eq for VolumeIdx
impl StructuralPartialEq for VolumeIdx
Auto Trait Implementations§
impl Freeze for VolumeIdx
impl RefUnwindSafe for VolumeIdx
impl Send for VolumeIdx
impl Sync for VolumeIdx
impl Unpin for VolumeIdx
impl UnwindSafe for VolumeIdx
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