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 Debug for AddConstraintError
[src]
impl Copy for AddConstraintError
[src]
impl Clone for AddConstraintError
[src]
fn clone(&self) -> AddConstraintError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more