#[doc(hidden)]#[repr(transparent)]pub struct Sendable<T>(pub T);Expand description
Wrapper to mark values as Send for main-thread routing.
Only safe if the value is not accessed on the worker thread and is used exclusively on the main thread.
Tuple Fields§
§0: TTrait Implementations§
impl<T: Copy> Copy for Sendable<T>
Source§impl IntoR for Sendable<SEXP>
impl IntoR for Sendable<SEXP>
impl<T> Send for Sendable<T>
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.