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