pub enum SelectionAlgorithm {
BranchAndBound,
CoinGrinder,
Fifo,
LowestLarger,
}Expand description
Identifies which selection algorithm produced a given SelectionOutput.
Variants§
Trait Implementations§
Source§impl Clone for SelectionAlgorithm
impl Clone for SelectionAlgorithm
Source§fn clone(&self) -> SelectionAlgorithm
fn clone(&self) -> SelectionAlgorithm
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SelectionAlgorithm
Source§impl Debug for SelectionAlgorithm
impl Debug for SelectionAlgorithm
impl Eq for SelectionAlgorithm
Source§impl Hash for SelectionAlgorithm
impl Hash for SelectionAlgorithm
Source§impl PartialEq for SelectionAlgorithm
impl PartialEq for SelectionAlgorithm
Source§fn eq(&self, other: &SelectionAlgorithm) -> bool
fn eq(&self, other: &SelectionAlgorithm) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SelectionAlgorithm
Auto Trait Implementations§
impl Freeze for SelectionAlgorithm
impl RefUnwindSafe for SelectionAlgorithm
impl Send for SelectionAlgorithm
impl Sync for SelectionAlgorithm
impl Unpin for SelectionAlgorithm
impl UnsafeUnpin for SelectionAlgorithm
impl UnwindSafe for SelectionAlgorithm
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