[][src]Enum cetkaik_full_state_transition::Rate

pub enum Rate {
    X1,
    X2,
    X4,
    X8,
    X16,
    X32,
    X64,
}

Theoretically speaking, it is necessary to distinguish x32 and x64 because it is possible to score 1 point (3+3-5). Not that it will ever be of use in any real situation. /3点役2つと-5点役一つを同時成立させることにより1点の得点を得ることが可能である。したがって、二人の得点の総和が40点である以上、32倍レートと64倍レートを区別する必要がある(32点を獲得することは必ずしも勝利を意味しないが、64点を獲得することは必ず勝利を意味するので)。

Variants

X1
X2
X4
X8
X16
X32
X64

Implementations

impl Rate[src]

#[must_use]pub fn next(self) -> Self[src]

#[must_use]pub fn num(self) -> i32[src]

Trait Implementations

impl Clone for Rate[src]

impl Copy for Rate[src]

impl Debug for Rate[src]

impl<'de> Deserialize<'de> for Rate[src]

impl Eq for Rate[src]

impl Hash for Rate[src]

impl PartialEq<Rate> for Rate[src]

impl Serialize for Rate[src]

impl StructuralEq for Rate[src]

impl StructuralPartialEq for Rate[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,