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
.