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§
Source§impl Clone for DisplayOption
impl Clone for DisplayOption
Source§fn clone(&self) -> DisplayOption
fn clone(&self) -> DisplayOption
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 moreimpl Copy for DisplayOption
Auto Trait Implementations§
impl Freeze for DisplayOption
impl RefUnwindSafe for DisplayOption
impl Send for DisplayOption
impl Sync for DisplayOption
impl Unpin for DisplayOption
impl UnwindSafe for DisplayOption
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