Struct shakmaty::RemainingChecks
source · Expand description
The number of checks the respective side needs to give in order to win (in a game of Three-Check).
Fields
white: u8
black: u8
Implementations
Trait Implementations
sourceimpl Clone for RemainingChecks
impl Clone for RemainingChecks
sourcefn clone(&self) -> RemainingChecks
fn clone(&self) -> RemainingChecks
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RemainingChecks
impl Debug for RemainingChecks
sourceimpl Default for RemainingChecks
impl Default for RemainingChecks
sourcefn default() -> RemainingChecks
fn default() -> RemainingChecks
Returns the “default value” for a type. Read more
sourceimpl Display for RemainingChecks
impl Display for RemainingChecks
sourceimpl PartialEq<RemainingChecks> for RemainingChecks
impl PartialEq<RemainingChecks> for RemainingChecks
sourcefn eq(&self, other: &RemainingChecks) -> bool
fn eq(&self, other: &RemainingChecks) -> bool
impl Eq for RemainingChecks
impl StructuralEq for RemainingChecks
impl StructuralPartialEq for RemainingChecks
Auto Trait Implementations
impl RefUnwindSafe for RemainingChecks
impl Send for RemainingChecks
impl Sync for RemainingChecks
impl Unpin for RemainingChecks
impl UnwindSafe for RemainingChecks
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more