[][src]Struct pleco_engine::search::ThreadStack

pub struct ThreadStack { /* fields omitted */ }

A Stack for the searcher, with information being contained per-ply.

Methods

impl ThreadStack[src]

pub fn new() -> Self[src]

pub fn get(&mut self, frame: usize) -> &mut Stack[src]

Get's a certain frame from the stack.

Assumes the frame is within bounds, otherwise undefined behavior.

pub fn ply_zero(&mut self) -> &mut Stack[src]

Get the ply at Zero

Auto Trait Implementations

impl !Send for ThreadStack

impl !Sync for ThreadStack

Blanket Implementations

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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