Enum cassowary::RemoveConstraintError [] [src]

pub enum RemoveConstraintError {
    UnknownConstraint,
    InternalSolverError(&'static str),
}

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

Variants

UnknownConstraint

The constraint specified was not already in the solver, so cannot be removed.

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 RemoveConstraintError
[src]

fn clone(&self) -> RemoveConstraintError

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 RemoveConstraintError
[src]

impl Debug for RemoveConstraintError
[src]

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

Formats the value using the given formatter.