Skip to main content

SendableAnyPtr

Type Alias SendableAnyPtr 

Source
type SendableAnyPtr = Sendable<Box<Box<dyn Any>>>;
Expand description

Own the allocation during the handoff to R’s main thread.

§Safety

The value is exclusively owned and accessed only after the handoff. Keeping the box owned also reclaims it if routing rejects the calling context.

Aliased Type§

#[repr(transparent)]
struct SendableAnyPtr(pub Box<Box<dyn Any>>);

Tuple Fields§

§0: Box<Box<dyn Any>>

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 8 bytes