[][src]Enum cetkaik_full_state_transition::Consequence

pub enum Consequence {
    Allowed,
    Penalized {
        penalty: i32,
        is_a_hand: bool,
    },
    Forbidden,
}

Describes whether an action is forbidden, penalized, or allowed without any penalty. 行為が禁止されるか、罰則付きであるか、それとも許容されるかを表現する型。

Variants

Allowed
Penalized

Fields of Penalized

penalty: i32is_a_hand: bool
Forbidden

Trait Implementations

impl Clone for Consequence[src]

impl Copy for Consequence[src]

impl Debug for Consequence[src]

impl Eq for Consequence[src]

impl Hash for Consequence[src]

impl PartialEq<Consequence> for Consequence[src]

impl StructuralEq for Consequence[src]

impl StructuralPartialEq for Consequence[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> 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>,