Struct libparted::Constraint [−][src]
pub struct Constraint<'a> { /* fields omitted */ }
Implementations
A convenience wrapper for Constraint::init()
.
Allocates a new piece of memory and initializes the constraint.
Return a constraint that requires a region to be entirely contained inside max
.
Return a constraint that requires a region to be entirely contained inside min
.
Return a constraint that requires a region to be entirely contained inside min
and `max’.
Initializes a pre-allocated piece of memory to contain a constraint with the supplied default values.
Duplicates a constraint, if possible.
If the supplied constraint intersects with our constraint, a constraint will be returned with the computed solution.
Check whether geometry
satisfies the constraint.
Find the largest region that satisfies a constraint.Alignment
There might be more than one solution. This function makes no guarantees about which solutions it will choose in this case.