[][src]Struct genie_rec::PlayerID

pub struct PlayerID(_);

ID identifying a player (0-8).

Implementations

impl PlayerID[src]

pub const GAIA: Self[src]

Player ID for GAIA, the "nature" player.

Trait Implementations

impl Clone for PlayerID[src]

impl Copy for PlayerID[src]

impl Debug for PlayerID[src]

impl Default for PlayerID[src]

impl Eq for PlayerID[src]

impl From<PlayerID> for u8[src]

impl From<u8> for PlayerID[src]

impl Ord for PlayerID[src]

impl PartialEq<PlayerID> for PlayerID[src]

impl PartialOrd<PlayerID> for PlayerID[src]

impl StructuralEq for PlayerID[src]

impl StructuralPartialEq for PlayerID[src]

impl TryFrom<PlayerID> for i16[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl TryFrom<PlayerID> for u16[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl TryFrom<PlayerID> for i32[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl TryFrom<PlayerID> for u32[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl TryFrom<i16> for PlayerID[src]

type Error = TryFromIntError

The type returned in the event of a conversion error.

impl TryFrom<i32> for PlayerID[src]

type Error = TryFromIntError

The type returned in the event of a conversion error.

impl TryFrom<i8> for PlayerID[src]

type Error = TryFromIntError

The type returned in the event of a conversion error.

impl TryFrom<u16> for PlayerID[src]

type Error = TryFromIntError

The type returned in the event of a conversion error.

impl TryFrom<u32> for PlayerID[src]

type Error = TryFromIntError

The type returned in the event of a conversion error.

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.