Enum cassowary::AddConstraintError [] [src]

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

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


The constraint specified has already been added to the solver.

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

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

Trait Implementations

impl Debug for AddConstraintError

Formats the value using the given formatter. Read more

impl Copy for AddConstraintError

impl Clone for AddConstraintError

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for AddConstraintError

impl Sync for AddConstraintError