Struct libcoinche::bid::Contract
[−]
[src]
pub struct Contract { pub author: PlayerPos, pub trump: Suit, pub target: Target, pub coinche_level: i32, }
Contract taken by a team.
Composed of a trump suit and a target to reach.
Fields
Initial author of the contract.
trump: Suit
Trump suit for this game.
target: Target
Target for the contract.
coinche_level: i32
Level of coinche:
0
: not coinched1
: coinched2
: surcoinched
Trait Implementations
impl Decodable for Contract
[src]
impl Encodable for Contract
[src]
impl Debug for Contract
[src]
impl Clone for Contract
[src]
fn clone(&self) -> Contract
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more