[][src]Enum klondike_lib::model::area::MoveResult

pub enum MoveResult<T, U, E = Error> {
    Moved(T),
    Unmoved(U, E),
}

Variants

Moved(T)
Unmoved(U, E)

Implementations

impl<T, U, E> MoveResult<T, U, E>[src]

pub fn into_result(self) -> Result<T, E>[src]

Trait Implementations

impl<T: Debug, U: Debug, E: Debug> Debug for MoveResult<T, U, E>[src]

Auto Trait Implementations

impl<T, U, E> RefUnwindSafe for MoveResult<T, U, E> where
    E: RefUnwindSafe,
    T: RefUnwindSafe,
    U: RefUnwindSafe

impl<T, U, E> Send for MoveResult<T, U, E> where
    E: Send,
    T: Send,
    U: Send

impl<T, U, E> Sync for MoveResult<T, U, E> where
    E: Sync,
    T: Sync,
    U: Sync

impl<T, U, E> Unpin for MoveResult<T, U, E> where
    E: Unpin,
    T: Unpin,
    U: Unpin

impl<T, U, E> UnwindSafe for MoveResult<T, U, E> where
    E: UnwindSafe,
    T: UnwindSafe,
    U: UnwindSafe

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, 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,