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§
Source§impl Clone for AddEditVariableError
impl Clone for AddEditVariableError
Source§fn clone(&self) -> AddEditVariableError
fn clone(&self) -> AddEditVariableError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AddEditVariableError
impl Debug for AddEditVariableError
impl Copy for AddEditVariableError
Auto Trait Implementations§
impl Freeze for AddEditVariableError
impl RefUnwindSafe for AddEditVariableError
impl Send for AddEditVariableError
impl Sync for AddEditVariableError
impl Unpin for AddEditVariableError
impl UnwindSafe for AddEditVariableError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more