Struct inanis::engine::context::SearchResult
source · pub struct SearchResult {
pub time: u32,
pub depth: i8,
}
Fields§
§time: u32
§depth: i8
Implementations§
source§impl SearchResult
impl SearchResult
sourcepub fn new(time: u32, depth: i8) -> Self
pub fn new(time: u32, depth: i8) -> Self
Constructs a new instance of SearchResult with stored time
and depth
.
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