Type Alias Rto

Source
pub type Rto<T> = Rt<Slot<T>>;
Expand description

A “Root Tracable Object”. This differs from Rt by wrapping a Slot which allows the underlying data to be moved during garbage collection. GC owned types will always be wrapped in a Slot when rooted. To access the object, use Rto::bind.

Aliased Type§

#[repr(transparent)]
pub struct Rto<T> { _aliasable: PhantomPinned, inner: Slot<T>, }

Fields§

§_aliasable: PhantomPinned§inner: Slot<T>