Struct libparted::Alignment [] [src]

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

Methods

impl<'a> Alignment<'a>
[src]

[src]

[src]

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

[src]

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.

[src]

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

[src]

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

[src]

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

[src]

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

[src]

[src]

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

[src]

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

[src]

Trait Implementations

impl<'a> Drop for Alignment<'a>
[src]

[src]

Executes the destructor for this type. Read more