pub trait VmRootInternal: Deref<Target = Thread> + Clone {
    // Required methods
    fn root_vm(&mut self);
    fn unroot_vm(&mut self);

    // Provided method
    unsafe fn root_value_with_self(self, value: &Value) -> RootedValue<Self>
       where Self: Sized { ... }
}

Required Methods§

source

fn root_vm(&mut self)

source

fn unroot_vm(&mut self)

Provided Methods§

source

unsafe fn root_value_with_self(self, value: &Value) -> RootedValue<Self>
where Self: Sized,

Roots a value

Object Safety§

This trait is not object safe.

Implementors§