Struct libparted::Alignment[][src]

pub struct Alignment<'a> { /* fields omitted */ }

Implementations

Return an alignment object representing all sectors that are of the form offset + X * grain_size.

Initializes a preallocated piece of memory for an alignment object.

The object will represent all sectors for which the equation S = offset + x * grain_size holds.

Returns the sector that is closest to sector, satifies the align constraint, and lies lies inside geom.

Returns the sector that is closest to sector, satisfies the align constraint, and lies inside of geom.

Returns the sector that is closest to sector, satifies the align constraint, and lies lies inside geom.

Clones and returns a duplicate of the alignment, if possible.

Returns a new Alignment object if an intersection can between itself and a given other Alignment.

Returns the sector that is closest to sector, satifies the align constraint, and lies lies inside geom.

Trait Implementations

Executes the destructor for this type. 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 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.