Enum cassowary::AddEditVariableError [] [src]

pub enum AddEditVariableError {
    DuplicateEditVariable,
    BadRequiredStrength,
}

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

Variants

DuplicateEditVariable

The specified variable is already marked as an edit variable in the solver.

BadRequiredStrength

The specified strength was REQUIRED. This is illegal for edit variable strengths.

Trait Implementations

impl Clone for AddEditVariableError
[src]

fn clone(&self) -> AddEditVariableError

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

impl Debug for AddEditVariableError
[src]

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

Formats the value using the given formatter.