Enum haybale::solver_utils::SolutionCount
source · pub enum SolutionCount {
Exactly(usize),
AtLeast(usize),
}
Variants§
Exactly(usize)
There are exactly this many solutions
AtLeast(usize)
There are at least this many solutions
Trait Implementations§
source§impl Clone for SolutionCount
impl Clone for SolutionCount
source§fn clone(&self) -> SolutionCount
fn clone(&self) -> SolutionCount
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 SolutionCount
impl Debug for SolutionCount
source§impl PartialEq for SolutionCount
impl PartialEq for SolutionCount
source§fn eq(&self, other: &SolutionCount) -> bool
fn eq(&self, other: &SolutionCount) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SolutionCount
impl StructuralEq for SolutionCount
impl StructuralPartialEq for SolutionCount
Auto Trait Implementations§
impl RefUnwindSafe for SolutionCount
impl Send for SolutionCount
impl Sync for SolutionCount
impl Unpin for SolutionCount
impl UnwindSafe for SolutionCount
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