[][src]Struct bishop::bishop_art::BishopResult

pub struct BishopResult { /* fields omitted */ }

Resulting field from BishopArt

Methods

impl BishopResult[src]

pub fn width(&self) -> usize[src]

Get width of resulting field

pub fn height(&self) -> usize[src]

Get height of resulting field

pub fn field(&self) -> &FieldXY[src]

Get resulting field

pub fn draw_with_opts(&self, o: &DrawingOptions) -> String[src]

Draw resulting field to String using parameters from DrawingOptions

Panics

This function panics if char list length is less than 4 or more than isize::MAX

pub fn draw(&self) -> String[src]

Draw resulting field to String using default parameters

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]