Struct inanis::engine::context::SearchResult
source · pub struct SearchResult {
pub time: u32,
pub depth: i8,
pub transposition_table_usage: f32,
pub lines: Vec<SearchResultLine>,
pub statistics: SearchStatistics,
}
Fields§
§time: u32
§depth: i8
§transposition_table_usage: f32
§lines: Vec<SearchResultLine>
§statistics: SearchStatistics
Implementations§
source§impl SearchResult
impl SearchResult
sourcepub fn new(
time: u32,
depth: i8,
transposition_table_usage: f32,
lines: Vec<SearchResultLine>,
statistics: SearchStatistics
) -> Self
pub fn new( time: u32, depth: i8, transposition_table_usage: f32, lines: Vec<SearchResultLine>, statistics: SearchStatistics ) -> Self
Constructs a new instance of SearchResult with stored time
, depth
, lines
and statistics
.
Auto Trait Implementations§
impl RefUnwindSafe for SearchResult
impl Send for SearchResult
impl Sync for SearchResult
impl Unpin for SearchResult
impl UnwindSafe for SearchResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more