Enum rust_sudoku::cli::OutputStyle
source · [−]pub enum OutputStyle {
Simple,
MultiLine,
Bordered,
}
Expand description
How the puzzle is printed.
Variants
Simple
The entire puzzle is printed in one line.
MultiLine
The puzzle is printed with 9 numbers on each line.
Bordered
The puzzle is printed with a border around the puzzle and around each 3x3 square.
Trait Implementations
sourceimpl Clone for OutputStyle
impl Clone for OutputStyle
sourcefn clone(&self) -> OutputStyle
fn clone(&self) -> OutputStyle
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 OutputStyle
impl Debug for OutputStyle
sourceimpl FromOsStr for OutputStyle
impl FromOsStr for OutputStyle
impl Copy for OutputStyle
Auto Trait Implementations
impl RefUnwindSafe for OutputStyle
impl Send for OutputStyle
impl Sync for OutputStyle
impl Unpin for OutputStyle
impl UnwindSafe for OutputStyle
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