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> EncodeAbiType for NoCapture<T> where
T: EncodeBoxedAbiType,
[src]
impl<T: Boxed> EncodeAbiType for NoCapture<T> where
T: EncodeBoxedAbiType,
[src]const ABI_TYPE: AbiType
[src]
const PARAM_CAPTURE: ParamCapture
[src]
const PARAM_ABI_TYPE: ParamAbiType
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for NoCapture<T> where
T: RefUnwindSafe,
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,
T: RefUnwindSafe,
Blanket Implementations
impl<T> EncodeRetAbiType for T where
T: EncodeAbiType,
[src]
impl<T> EncodeRetAbiType for T where
T: EncodeAbiType,
[src]