[][src]Struct gluon_vm::api::Cloner

pub struct Cloner<'gc> { /* fields omitted */ }

Implementations

impl<'t> Cloner<'t>[src]

pub fn new(thread: &'t Thread, gc: &'t mut Gc) -> Cloner<'t>[src]

pub fn thread(&self) -> &'t Thread[src]

pub fn gc(&mut self) -> &mut Gc[src]

pub fn force_full_clone(&mut self) -> &mut Self[src]

Deep clones the entire value doing no sharing

pub fn deep_clone<'gc>(&'gc mut self, value: &Value) -> Result<Variants<'gc>>[src]

Auto Trait Implementations

impl<'gc> !RefUnwindSafe for Cloner<'gc>

impl<'gc> !Send for Cloner<'gc>

impl<'gc> !Sync for Cloner<'gc>

impl<'gc> Unpin for Cloner<'gc>

impl<'gc> !UnwindSafe for Cloner<'gc>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<Id> AsId<Id> for Id where
    Id: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'_, T> Captures<'_> for T[src]

impl<Choices> CoproductSubsetter<CNil, HNil> for Choices[src]

type Remainder = Choices

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastArc for T where
    T: Downcast + Send + Sync
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> From<T> for T[src]

impl<D, T> FromPtr<D> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U, I> LiftInto<U, I> for T where
    U: LiftFrom<T, I>, 
[src]

impl<Source> Sculptor<HNil, HNil> for Source[src]

type Remainder = Source

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.