[][src]Enum diplomacy::geo::Coast

pub enum Coast {
    North,
    East,
    South,
    West,
}

Differentiates regions within a province.

Variants

North
East
South
West

Trait Implementations

impl Clone for Coast[src]

impl Copy for Coast[src]

impl Debug for Coast[src]

impl Eq for Coast[src]

impl FromStr for Coast[src]

type Err = Error

The associated error which can be returned from parsing.

impl Hash for Coast[src]

impl Ord for Coast[src]

impl PartialEq<Coast> for Coast[src]

impl PartialOrd<Coast> for Coast[src]

impl ShortName for Coast[src]

impl StructuralEq for Coast[src]

impl StructuralPartialEq for Coast[src]

Auto Trait Implementations

impl RefUnwindSafe for Coast

impl Send for Coast

impl Sync for Coast

impl Unpin for Coast

impl UnwindSafe for Coast

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.