pub enum Marker {
Camel(Camel),
Divider,
Oasis,
FataMorgana,
}Expand description
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 Copy for Marker
impl Eq for Marker
impl StructuralPartialEq for Marker
Auto Trait Implementations§
impl Freeze for Marker
impl RefUnwindSafe for Marker
impl Send for Marker
impl Sync for Marker
impl Unpin for Marker
impl UnwindSafe for Marker
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more