pub trait CloneUnrooted {
    type Value;

    // Required method
    unsafe fn clone_unrooted(&self) -> Self::Value;
}

Required Associated Types§

Required Methods§

source

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

Implementations on Foreign Types§

source§

impl<T: ?Sized + CloneUnrooted> CloneUnrooted for &T

§

type Value = <T as CloneUnrooted>::Value

source§

unsafe fn clone_unrooted(&self) -> Self::Value

Implementors§