Enum otter_api_tests::PriOG[][src]

pub enum PriOG<P, Z> {
    Visible(ShowUnocculted),
    Occulted,
    Displaced(P, Z),
}

Variants

Occulted
Displaced(P, Z)

Implementations

impl<P, Z> PriOccultedGeneral<P, Z>[src]

pub fn instead(
    &self,
    ioccults: &'p IOccults,
    p: &'p IPiece
) -> Result<Either<ShowUnocculted, &'p (dyn OccultedPieceTrait + 'static)>, InternalError>
[src]

pub fn fully_visible(&self) -> Option<ShowUnocculted>[src]

pub fn describe(
    &self,
    ioccults: &IOccults,
    goccults: &GameOccults,
    gpc: &GPiece,
    ipc: &IPiece
) -> Html
[src]

pub fn describe_fallible(
    &self,
    ioccults: &IOccults,
    goccults: &GameOccults,
    gpc: &GPiece,
    ipc: &IPiece
) -> Result<Html, InternalError>
[src]

Trait Implementations

impl<P, Z> Clone for PriOccultedGeneral<P, Z> where
    P: Clone,
    Z: Clone
[src]

impl<P, Z> Debug for PriOccultedGeneral<P, Z> where
    P: Debug,
    Z: Debug
[src]

Auto Trait Implementations

impl<P, Z> RefUnwindSafe for PriOccultedGeneral<P, Z> where
    P: RefUnwindSafe,
    Z: RefUnwindSafe

impl<P, Z> Send for PriOccultedGeneral<P, Z> where
    P: Send,
    Z: Send

impl<P, Z> Sync for PriOccultedGeneral<P, Z> where
    P: Sync,
    Z: Sync

impl<P, Z> Unpin for PriOccultedGeneral<P, Z> where
    P: Unpin,
    Z: Unpin

impl<P, Z> UnwindSafe for PriOccultedGeneral<P, Z> where
    P: UnwindSafe,
    Z: 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> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Any + Send + Sync

impl<A> DynCastExt for A

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.

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