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

Partition Status

Start cylinder (Legacy CHS)

Start head (Legacy CHS)

Start sector (Legacy CHS)

Partition Type (DOS, Windows, BeOS, etc)

End cylinder (Legacy CHS)

End head (Legacy CHS)

End sector

Logical block address to start of partition

Number of sectors in partition

Trait Implementations

impl Debug for Partition
[src]

Formats the value using the given formatter.

impl Clone for Partition
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for Partition
[src]

Formats the value using the given formatter. Read more