Trait gluon_vm::gc::CopyUnrooted

source ·
pub unsafe trait CopyUnrooted: CloneUnrooted<Value = Self> + Sized {
    // Provided method
    unsafe fn copy_unrooted(&self) -> Self { ... }
}
Expand description

SAFETY The only unsafety from copying the type is the creation of an unrooted value

Provided Methods§

source

unsafe fn copy_unrooted(&self) -> Self

Object Safety§

This trait is not object safe.

Implementors§