Struct bootsector::Partition
[−]
[src]
pub struct Partition { pub id: usize, pub first_byte: u64, pub len: u64, pub attributes: Attributes, }
An entry in the partition table.
Fields
id: usize
The number of this partition, 0-indexed.
first_byte: u64
The first byte of the reader that this partition represents.
len: u64
The length of this partition, in bytes.
attributes: Attributes
Table-specific attributes about this partition.
Trait Implementations
impl Debug for Partition
[src]
impl Clone for Partition
[src]
fn clone(&self) -> Partition
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more