Struct otter_api_tests::IPiece[][src]

pub struct IPiece {
    pub p: IPieceTraitObj,
    pub loaded_via_alias: Option<String>,
    pub occilk: Option<OccultIlkOwningId>,
}

Fields

p: IPieceTraitObjloaded_via_alias: Option<String>occilk: Option<OccultIlkOwningId>

Implementations

impl IPiece[src]

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

Methods from Deref<Target = IPieceTraitObj>

pub fn show(&self, ShowUnocculted) -> &Box<dyn PieceTrait + 'static, Global>

Notable traits for Box<R, Global>

impl<R> Read for Box<R, Global> where
    R: Read + ?Sized
impl<W> Write for Box<W, Global> where
    W: Write + ?Sized
impl<F, A> Future for Box<F, A> where
    A: Allocator + 'static,
    F: Future + Unpin + ?Sized
type Output = <F as Future>::Output;impl<I, A> Iterator for Box<I, A> where
    A: Allocator,
    I: Iterator + ?Sized
type Item = <I as Iterator>::Item;
[src]

pub fn direct_trait_access(&self) -> &Box<dyn PieceTrait + 'static, Global>

Notable traits for Box<R, Global>

impl<R> Read for Box<R, Global> where
    R: Read + ?Sized
impl<W> Write for Box<W, Global> where
    W: Write + ?Sized
impl<F, A> Future for Box<F, A> where
    A: Allocator + 'static,
    F: Future + Unpin + ?Sized
type Output = <F as Future>::Output;impl<I, A> Iterator for Box<I, A> where
    A: Allocator,
    I: Iterator + ?Sized
type Item = <I as Iterator>::Item;
[src]

Trait Implementations

impl Debug for IPiece[src]

impl Deref for IPiece[src]

type Target = IPieceTraitObj

The resulting type after dereferencing.

impl<'de> Deserialize<'de> for IPiece[src]

impl Serialize for IPiece[src]

Auto Trait Implementations

impl !RefUnwindSafe for IPiece

impl Send for IPiece

impl Sync for IPiece

impl Unpin for IPiece

impl !UnwindSafe for IPiece

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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> Serialize for T where
    T: Serialize + ?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.

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