[][src]Struct pgnparse::parser::BookMove

pub struct BookMove {
    pub win: usize,
    pub draw: usize,
    pub loss: usize,
    pub uci: String,
    pub san: String,
}

book move

Fields

win: usize

white wins

draw: usize

draw

loss: usize

black wins

uci: String

uci

san: String

san

Implementations

impl BookMove[src]

book move implementation

pub fn new<U, S>(uci: U, san: S) -> BookMove where
    U: Display,
    S: Display
[src]

new book move

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

plays

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

perf

Trait Implementations

impl Debug for BookMove[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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<V, T> VZip<V> for T where
    V: MultiLane<T>,