[−][src]Trait zerogc::GcCreateHandle
The trait to create GcHandles to a GcRef.
This type-system hackery is needed because
we need to place bounds on T as GcBrand
TODO: Remove when we get more powerful types
Associated Types
type Handle: GcHandle<<T as GcBrand<'static, Self::System>>::Branded>
The type of handles to this object.
Required methods
fn create_handle(&self) -> Self::Handle
Create a handle to this object, which can be used without a context