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 Debug for AddConstraintError
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for AddConstraintError
[src]
impl Copy for AddConstraintError
impl Clone for AddConstraintError
[src]
impl Clone for AddConstraintError
fn clone(&self) -> AddConstraintError
[src]
fn clone(&self) -> AddConstraintError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for AddConstraintError
impl Send for AddConstraintError
impl Sync for AddConstraintError
impl Sync for AddConstraintError