Enum chess_turn_engine::DisplayOption
source · [−]pub enum DisplayOption {
BoardView(ViewMode),
TurnHistory,
CaptureHistory,
}Expand description
Display option
Variants
BoardView(ViewMode)
Display board state
TurnHistory
Display turn history in plain ASCII format
CaptureHistory
Display capture history in plain ASCII format
Trait Implementations
sourceimpl Clone for DisplayOption
impl Clone for DisplayOption
sourcefn clone(&self) -> DisplayOption
fn clone(&self) -> DisplayOption
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 more
impl Copy for DisplayOption
Auto Trait Implementations
impl RefUnwindSafe for DisplayOption
impl Send for DisplayOption
impl Sync for DisplayOption
impl Unpin for DisplayOption
impl UnwindSafe for DisplayOption
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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