[−][src]Struct bishop::bishop_art::DrawingOptions
Options for drawing methods
Fields
chars: CharList
Vector of chars used for fingerprint
Each char is treated as:
Index | Description | Default |
---|---|---|
0 | Field background | |
1..n | Chars used for drawing | .o+=*BOX@%&#/^ |
n+1 | Char for start position | S |
n+2 | Char for last position | E |
Each non-background char indicates how many times bishop has been on this position.
Start and end chars overwrites the real value.
Char list must be at least 4 chars long, but secure char list is at least 18 chars long and only consists of clearly distinguishable symbols.
top_text: String
Text for top frame border
bottom_text: String
Text for bottom frame border
Methods
impl DrawingOptions
[src]
pub fn default() -> DrawingOptions
[src]
Returns DrawingOptions with default parameters
Trait Implementations
impl Default for DrawingOptions
[src]
Auto Trait Implementations
impl Send for DrawingOptions
impl Sync for DrawingOptions
impl Unpin for DrawingOptions
impl UnwindSafe for DrawingOptions
impl RefUnwindSafe for DrawingOptions
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,