pub struct ParContract {
pub contract: Contract,
pub declarer: Seat,
pub overtricks: i8,
}Expand description
Par contract
Fields§
§contract: ContractThe contract
declarer: SeatThe declarer of the contract
overtricks: i8The number of overtricks (negative for undertricks)
Trait Implementations§
Source§impl Clone for ParContract
impl Clone for ParContract
Source§fn clone(&self) -> ParContract
fn clone(&self) -> ParContract
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 ParContract
impl Debug for ParContract
Source§impl Hash for ParContract
impl Hash for ParContract
Source§impl PartialEq for ParContract
impl PartialEq for ParContract
impl Copy for ParContract
impl Eq for ParContract
impl StructuralPartialEq for ParContract
Auto Trait Implementations§
impl Freeze for ParContract
impl RefUnwindSafe for ParContract
impl Send for ParContract
impl Sync for ParContract
impl Unpin for ParContract
impl UnsafeUnpin for ParContract
impl UnwindSafe for ParContract
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