Enum cassowary::RemoveConstraintError
[−]
[src]
pub enum RemoveConstraintError {
UnknownConstraint,
InternalSolverError(&'static str),
}The possible error conditions that Solver::remove_constraint can fail with.
Variants
UnknownConstraintThe 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 Debug for RemoveConstraintError[src]
impl Debug for RemoveConstraintErrorfn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for RemoveConstraintError[src]
impl Copy for RemoveConstraintErrorimpl Clone for RemoveConstraintError[src]
impl Clone for RemoveConstraintErrorfn clone(&self) -> RemoveConstraintError[src]
fn clone(&self) -> RemoveConstraintErrorReturns 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 RemoveConstraintError
impl Send for RemoveConstraintErrorimpl Sync for RemoveConstraintError
impl Sync for RemoveConstraintError