pub enum Target {
Contract80,
Contract90,
Contract100,
Contract110,
Contract120,
Contract130,
Contract140,
Contract150,
Contract160,
ContractCapot,
}Expand description
Goal set by a contract.
Determines the winning conditions and the score on success.
Variants§
Contract80
Team must get 80 points
Contract90
Team must get 90 points
Contract100
Team must get 100 points
Contract110
Team must get 110 points
Contract120
Team must get 120 points
Contract130
Team must get 130 points
Contract140
Team must get 140 points
Contract150
Team must get 150 points
Contract160
Team must get 160 points
ContractCapot
Team must win all tricks
Implementations§
Trait Implementations§
impl Copy for Target
Source§impl<'de> Deserialize<'de> for Target
impl<'de> Deserialize<'de> for Target
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Target
impl StructuralPartialEq for Target
Auto Trait Implementations§
impl Freeze for Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnsafeUnpin for Target
impl UnwindSafe for Target
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