pub struct PartitionSectorMap(_);
Expand description

Maps partitions to sector bitfields.

Implementations

Records the given sectors at the given partition.

Records the given sector bitfield at the given partition index, merging it with any existing bitfields if necessary.

Counts the number of partitions & sectors within the map.

Returns a sorted vec of partitions in the map.

Walks the partitions in the map, in order of increasing index.

Trait Implementations

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.