pub fn wrap_receiver<T: TypedExternal>(sexp: SEXP) -> ExternalPtr<T> ⓘExpand description
The typed handle of an instance-method receiver, for self: ExternalPtr<Self>
receivers: resolve_receiver
then ExternalPtr::wrap_sexp, failing like the erased receivers do
(handle_downcast_failed: consumed, restored from a saved session, or a
type mismatch). Runs on R’s main thread (the generated prelude).