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

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

Special marker ref for parameters that are explicitly captured

Capturing GC managed values is usually not allowed as the captured values become invisible to the garbage collector and will become invalid on the next collection cycle. This is intended for use by special runtime functions that expose their captured values to the collector via an internal mechanism.

Trait Implementations

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

type Target = T

The resulting type after dereferencing.

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

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

Auto Trait Implementations

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

impl<T> !Send for Capture<T>

impl<T> !Sync for Capture<T>

impl<T> Unpin for Capture<T>

impl<T> UnwindSafe for Capture<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.