pub enum SquareValue {
Empty,
X,
O,
}Variants§
Trait Implementations§
Source§impl Clone for SquareValue
impl Clone for SquareValue
Source§fn clone(&self) -> SquareValue
fn clone(&self) -> SquareValue
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 SquareValue
impl Debug for SquareValue
Source§impl Display for SquareValue
impl Display for SquareValue
Source§impl PartialEq for SquareValue
impl PartialEq for SquareValue
impl Copy for SquareValue
impl Eq for SquareValue
impl StructuralPartialEq for SquareValue
Auto Trait Implementations§
impl Freeze for SquareValue
impl RefUnwindSafe for SquareValue
impl Send for SquareValue
impl Sync for SquareValue
impl Unpin for SquareValue
impl UnwindSafe for SquareValue
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