Trait gluon_vm::gc::CloneUnrooted
source · pub trait CloneUnrooted {
type Value;
// Required method
unsafe fn clone_unrooted(&self) -> Self::Value;
}
Required Associated Types§
Required Methods§
sourceunsafe fn clone_unrooted(&self) -> Self::Value
unsafe fn clone_unrooted(&self) -> Self::Value
Creates a clone of the value that is not rooted. To ensure safety the value must be forgotten or rooted before the next garbage collection