Enum libcoinche::bid::Target [] [src]

pub enum Target {
    Contract80,
    Contract90,
    Contract100,
    Contract110,
    Contract120,
    Contract130,
    Contract140,
    Contract150,
    Contract160,
    ContractCapot,
}

Goal set by a contract.

Determines the winning conditions and the score on success.

Variants

Team must get 80 points

Team must get 90 points

Team must get 100 points

Team must get 110 points

Team must get 120 points

Team must get 130 points

Team must get 140 points

Team must get 150 points

Team must get 160 points

Team must win all tricks

Methods

impl Target
[src]

Returns the score this target would give on success.

Determines whether this target was reached.

Trait Implementations

impl PartialEq for Target
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for Target
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Target
[src]

impl Debug for Target
[src]

Formats the value using the given formatter.

impl FromStr for Target
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl ToString for Target
[src]

Converts the given value to a String. Read more