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

The number of this partition, 0-indexed.

The first byte of the reader that this partition represents.

The length of this partition, in bytes.

Table-specific attributes about this 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 Eq for Partition
[src]

impl PartialEq for Partition
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.