[][src]Trait gluon_vm::gc::CloneUnrooted

pub trait CloneUnrooted {
    type Value;
    unsafe fn clone_unrooted(&self) -> Self::Value;
}

Associated Types

type Value

Loading content...

Required methods

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

Loading content...

Implementations on Foreign Types

impl<'_, T: ?Sized + CloneUnrooted> CloneUnrooted for &'_ T[src]

type Value = T::Value

Loading content...

Implementors

impl CloneUnrooted for State[src]

type Value = Self

impl CloneUnrooted for InternedStr[src]

type Value = Self

impl CloneUnrooted for Value[src]

type Value = Self

impl CloneUnrooted for ClosureState[src]

type Value = Self

impl CloneUnrooted for ExternState[src]

type Value = Self

impl<'_, T> CloneUnrooted for Borrow<'_, T> where
    T: CloneUnrooted
[src]

type Value = T::Value

impl<S> CloneUnrooted for Frame<S> where
    S: CopyUnrooted
[src]

type Value = Self

impl<T: ?Sized> CloneUnrooted for GcPtr<T>[src]

type Value = Self

Loading content...