Struct arret_runtime::boxed::refs::NoCapture[][src]

#[repr(transparent)]
pub struct NoCapture<T: Boxed> { /* fields omitted */ }

Special marker ref for parameters that are explicitly not captured

This can be used for performance-sensitive functions where the compiler cannot prove the parameter can’t be captured.

Trait Implementations

impl<T: Boxed> Deref for NoCapture<T>[src]

type Target = T

The resulting type after dereferencing.

impl<T: Boxed> EncodeAbiType for NoCapture<T> where
    T: EncodeBoxedAbiType
[src]

impl<T: Boxed> From<NoCapture<T>> for Gc<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for NoCapture<T> where
    T: RefUnwindSafe

impl<T> !Send for NoCapture<T>

impl<T> !Sync for NoCapture<T>

impl<T> Unpin for NoCapture<T>

impl<T> UnwindSafe for NoCapture<T> where
    T: RefUnwindSafe

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> EncodeRetAbiType for T where
    T: EncodeAbiType
[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.