Enum cassowary::AddConstraintError [] [src]

pub enum AddConstraintError {
    DuplicateConstraint,
    UnsatisfiableConstraint,
    InternalSolverError(&'static str),
}

The possible error conditions that Solver::add_constraint can fail with.

Variants

DuplicateConstraint

The constraint specified has already been added to the solver.

UnsatisfiableConstraint

The constraint is required, but it is unsatisfiable in conjunction with the existing constraints.

InternalSolverError(&'static str)

The solver entered an invalid state. If this occurs please report the issue. This variant specifies additional details as a string.

Trait Implementations

impl Clone for AddConstraintError
[src]

fn clone(&self) -> AddConstraintError

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for AddConstraintError
[src]

impl Debug for AddConstraintError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.