Struct mbr::partition::Partition
[−]
[src]
pub struct Partition { pub p_status: u8, pub p_cyl_begin: u8, pub p_head_begin: u8, pub p_sect_begin: u8, pub p_type: u8, pub p_cyl_end: u8, pub p_head_end: u8, pub p_sect_end: u8, pub p_lba: u32, pub p_size: u32, }
Fields
p_status: u8
Partition Status
p_cyl_begin: u8
Start cylinder (Legacy CHS)
p_head_begin: u8
Start head (Legacy CHS)
p_sect_begin: u8
Start sector (Legacy CHS)
p_type: u8
Partition Type (DOS, Windows, BeOS, etc)
p_cyl_end: u8
End cylinder (Legacy CHS)
p_head_end: u8
End head (Legacy CHS)
p_sect_end: u8
End sector
p_lba: u32
Logical block address to start of partition
p_size: u32
Number of sectors in 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