Enum libcoinche::bid::Target
source · [−]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
sourceimpl<'de> Deserialize<'de> for Target
impl<'de> Deserialize<'de> for Target
sourcefn 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 Copy for Target
impl Eq for Target
impl StructuralEq for Target
impl StructuralPartialEq for Target
Auto Trait Implementations
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnwindSafe for Target
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more