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 Debug for AddEditVariableError
[src]
impl Debug for AddEditVariableError
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 AddEditVariableError
[src]
impl Copy for AddEditVariableError
impl Clone for AddEditVariableError
[src]
impl Clone for AddEditVariableError
fn clone(&self) -> AddEditVariableError
[src]
fn clone(&self) -> AddEditVariableError
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 AddEditVariableError
impl Send for AddEditVariableError
impl Sync for AddEditVariableError
impl Sync for AddEditVariableError