Enum sgf_render::StoneColor
source · pub enum StoneColor {
Black,
White,
}Variants§
Trait Implementations§
source§impl Clone for StoneColor
impl Clone for StoneColor
source§fn clone(&self) -> StoneColor
fn clone(&self) -> StoneColor
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 StoneColor
impl Debug for StoneColor
source§impl Hash for StoneColor
impl Hash for StoneColor
source§impl PartialEq for StoneColor
impl PartialEq for StoneColor
source§fn eq(&self, other: &StoneColor) -> bool
fn eq(&self, other: &StoneColor) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for StoneColor
impl Eq for StoneColor
impl StructuralPartialEq for StoneColor
Auto Trait Implementations§
impl RefUnwindSafe for StoneColor
impl Send for StoneColor
impl Sync for StoneColor
impl Unpin for StoneColor
impl UnwindSafe for StoneColor
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
§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
Checks if this value is equivalent to the given key. Read more
§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.