[−][src]Struct bishop::bishop_art::BishopResult
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
impl Send for BishopResult
impl Sync for BishopResult
impl Unpin for BishopResult
impl UnwindSafe for BishopResult
impl RefUnwindSafe for BishopResult
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,