Enum casuarius::AddEditVariableError
source · [−]pub enum AddEditVariableError {
DuplicateEditVariable,
BadRequiredStrength,
}
Expand description
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
sourceimpl Clone for AddEditVariableError
impl Clone for AddEditVariableError
sourcefn clone(&self) -> AddEditVariableError
fn clone(&self) -> AddEditVariableError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AddEditVariableError
impl Debug for AddEditVariableError
impl Copy for AddEditVariableError
Auto Trait Implementations
impl RefUnwindSafe for AddEditVariableError
impl Send for AddEditVariableError
impl Sync for AddEditVariableError
impl Unpin for AddEditVariableError
impl UnwindSafe for AddEditVariableError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more