[][src]Enum camel_up::camel::Marker

pub enum Marker {
    Camel(Camel),
    Divider,
    Oasis,
    FataMorgana,
}

A marker is used to describe a race.

Variants

Camel(Camel)

Signals that a camel is present at this position. Its argument tells you which camel.

Divider

Divider between positions.

Oasis

When camels land on an oasis they advance one position.

FataMorgana

When camels land on a fata morgana, they fallback one position.

Trait Implementations

impl Clone for Marker[src]

impl Copy for Marker[src]

impl Debug for Marker[src]

impl Eq for Marker[src]

impl FromStr for Marker[src]

type Err = NotAMarker

The associated error which can be returned from parsing.

impl PartialEq<Marker> for Marker[src]

impl StructuralEq for Marker[src]

impl StructuralPartialEq for Marker[src]

Auto Trait Implementations

impl RefUnwindSafe for Marker

impl Send for Marker

impl Sync for Marker

impl Unpin for Marker

impl UnwindSafe for Marker

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.