pub enum PickerMode {
CapableFirst,
EfficientFirst,
}Expand description
Which tier to default to when the scorer is not confident.
Variants§
CapableFirst
Default to capable unless the scorer confidently picks efficient.
EfficientFirst
Default to efficient unless the scorer confidently picks capable.
Implementations§
Source§impl PickerMode
impl PickerMode
Sourcepub fn default_tier(self) -> Tier
pub fn default_tier(self) -> Tier
Tier a turn routes to when the scorer is not confident enough to pick.
Trait Implementations§
Source§impl Clone for PickerMode
impl Clone for PickerMode
Source§fn clone(&self) -> PickerMode
fn clone(&self) -> PickerMode
Returns a duplicate 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 PickerMode
impl Debug for PickerMode
Source§impl<'de> Deserialize<'de> for PickerMode
impl<'de> Deserialize<'de> for PickerMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PickerMode
impl PartialEq for PickerMode
impl Copy for PickerMode
impl Eq for PickerMode
impl StructuralPartialEq for PickerMode
Auto Trait Implementations§
impl Freeze for PickerMode
impl RefUnwindSafe for PickerMode
impl Send for PickerMode
impl Sync for PickerMode
impl Unpin for PickerMode
impl UnsafeUnpin for PickerMode
impl UnwindSafe for PickerMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.