[−][src]Enum diplomacy::judge::retreat::DestStatus
Variants
The region is a viable retreat destination.
The retreating unit cannot reach the destination, due to the lack of a passable border.
This status covers three cases:
- There is a border, but the unit cannot cross it due to terrain incompatibility.
- There is no border with the specified destination; it is not adjacent to the retreating unit.
- The specified destination does not exist on the map.
The unit that dislodged the retreating unit launched a direct assault from this region's parent province.
There is a unit in the destination province.
The region is vacant, but during the main phase the province was the site of a stalemate. Units cannot retreat into stalemate territory.
Trait Implementations
impl Clone for DestStatus
[src]
fn clone(&self) -> DestStatus
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for DestStatus
[src]
impl Debug for DestStatus
[src]
impl Eq for DestStatus
[src]
impl<'_> PartialEq<DestStatus> for OrderOutcome<'_>
[src]
Most DestStatus
values block a retreat-phase move order from succeeding or exerting
influence on the move destination. These values can appear in the InvalidDestination
variant of OrderOutcome
. Note that DestStatus::Available
will never equal an order outcome.
impl PartialEq<DestStatus> for DestStatus
[src]
impl<'_> PartialEq<OrderOutcome<'_>> for DestStatus
[src]
fn eq(&self, other: &OrderOutcome) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for DestStatus
[src]
impl StructuralPartialEq for DestStatus
[src]
Auto Trait Implementations
impl RefUnwindSafe for DestStatus
impl Send for DestStatus
impl Sync for DestStatus
impl Unpin for DestStatus
impl UnwindSafe for DestStatus
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,