[−][src]Struct pleco::board::perft::PerftNodes
Holds all information about the number of nodes counted.
Fields
nodes: u64
Total number of nodes counted.
captures: u64
Number of capturing moves, including en-passant moves.
en_passant: u64
Number of En-Passant moves.
castles: u64
Number of Castles.
promotions: u64
The number of promotions
checks: u64
The number of checking moves.
checkmates: u64
The number of moves resulting in a checkmate.
Methods
impl PerftNodes
[src]
pub fn check(
&self,
nodes: u64,
captures: u64,
en_passant: u64,
castles: u64,
promotions: u64,
checks: u64,
checkmates: u64
)
[src]
&self,
nodes: u64,
captures: u64,
en_passant: u64,
castles: u64,
promotions: u64,
checks: u64,
checkmates: u64
)
Checks for the correct number of nodes in each category. If the results don't match, panics with an error-message containing the failed checks.
Trait Implementations
impl Default for PerftNodes
[src]
Auto Trait Implementations
impl Send for PerftNodes
impl Sync for PerftNodes
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,