pub struct Par {
pub score: i32,
pub contracts: Vec<(Contract, Seat, i8)>,
}Expand description
Par score and contracts
Fields§
§score: i32The par score
contracts: Vec<(Contract, Seat, i8)>The contracts that achieve the par score
Each tuple contains a contract, the declarer, and the number of overtricks (undertricks in negative).
Trait Implementations§
Source§impl From<parResultsMaster> for Par
impl From<parResultsMaster> for Par
Source§fn from(par: parResultsMaster) -> Self
fn from(par: parResultsMaster) -> Self
Converts to this type from the input type.
impl Eq for Par
Auto Trait Implementations§
impl Freeze for Par
impl RefUnwindSafe for Par
impl Send for Par
impl Sync for Par
impl Unpin for Par
impl UnwindSafe for Par
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