pub struct PlayAnalysis {
pub tricks: ArrayVec<TrickCount, 53>,
}Expand description
Double-dummy trick counts before and after each played card in a trace
Returned by Solver::analyse_play. Trick
counts are from the declarer’s viewpoint: declarer is the right-hand
opponent of the opening leader (the side to lead the very first trick in
the starting Board).
tricks[0] is the DD value before any card in the trace is played.
tricks[i] for i > 0 is the DD value after the i-th card. A drop from
tricks[i - 1] to tricks[i] means that card was a double-dummy mistake
by the side to move at the time.
Fields§
§tricks: ArrayVec<TrickCount, 53>Trick counts — cards.len() + 1 entries, starting with the position
before any card is played
Trait Implementations§
Source§impl Clone for PlayAnalysis
impl Clone for PlayAnalysis
Source§fn clone(&self) -> PlayAnalysis
fn clone(&self) -> PlayAnalysis
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlayAnalysis
impl Debug for PlayAnalysis
Source§impl From<solvedPlay> for PlayAnalysis
impl From<solvedPlay> for PlayAnalysis
Source§fn from(solved: solvedPlay) -> Self
fn from(solved: solvedPlay) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlayAnalysis
impl PartialEq for PlayAnalysis
impl Eq for PlayAnalysis
impl StructuralPartialEq for PlayAnalysis
Auto Trait Implementations§
impl Freeze for PlayAnalysis
impl RefUnwindSafe for PlayAnalysis
impl Send for PlayAnalysis
impl Sync for PlayAnalysis
impl Unpin for PlayAnalysis
impl UnsafeUnpin for PlayAnalysis
impl UnwindSafe for PlayAnalysis
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