pub enum UciScoreType {
Centipawns,
Mate,
}
Expand description
Represents the type of score for the score
argument of the info
response.
Variants§
Centipawns
The score from the engine’s point of view in centipawns.
Mate
Mate in <y>
moves (not plies).
Trait Implementations§
Source§impl Clone for UciScoreType
impl Clone for UciScoreType
Source§fn clone(&self) -> UciScoreType
fn clone(&self) -> UciScoreType
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 UciScoreType
impl Debug for UciScoreType
Source§impl Display for UciScoreType
impl Display for UciScoreType
Source§impl Hash for UciScoreType
impl Hash for UciScoreType
Source§impl Ord for UciScoreType
impl Ord for UciScoreType
Source§fn cmp(&self, other: &UciScoreType) -> Ordering
fn cmp(&self, other: &UciScoreType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UciScoreType
impl PartialEq for UciScoreType
Source§impl PartialOrd for UciScoreType
impl PartialOrd for UciScoreType
impl Copy for UciScoreType
impl Eq for UciScoreType
impl StructuralPartialEq for UciScoreType
Auto Trait Implementations§
impl Freeze for UciScoreType
impl RefUnwindSafe for UciScoreType
impl Send for UciScoreType
impl Sync for UciScoreType
impl Unpin for UciScoreType
impl UnwindSafe for UciScoreType
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