[][src]Enum diplomacy::order::BuildCommand

pub enum BuildCommand {
    Build,
    Disband,
}

A command issued during the build/disband turn (typically "Winter").

Variants

Build

The recipient region is to spawn a new unit of the ordered type owned by the issuing nation. This will require that the province is a home supply center for the issuing nation and that the nation has sufficient centers to support the unit.

Disband

The recipient unit is to disband, ceasing to exist for the following turn.

Trait Implementations

impl Clone for BuildCommand[src]

impl<L: Location> Command<L> for BuildCommand[src]

impl Debug for BuildCommand[src]

impl Display for BuildCommand[src]

impl Eq for BuildCommand[src]

impl FromWords for BuildCommand[src]

type Err = Error

The associated error which can be returned from parsing.

impl Hash for BuildCommand[src]

impl PartialEq<BuildCommand> for BuildCommand[src]

impl StructuralEq for BuildCommand[src]

impl StructuralPartialEq for BuildCommand[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> ToString for T where
    T: Display + ?Sized
[src]

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.