Trait rquickjs_core::Outlive[][src]

pub trait Outlive<'t> {
    type Target;
}

The trait to help break lifetime rules when JS objects leaves current context via Persistent wrapper.

Associated Types

type Target[src]

The target which has the same type as a Self but with another lifetime 't

Loading content...

Implementors

impl<'js, 't> Outlive<'t> for Array<'js>[src]

type Target = Array<'t>

impl<'js, 't> Outlive<'t> for Function<'js>[src]

type Target = Function<'t>

impl<'js, 't> Outlive<'t> for Object<'js>[src]

type Target = Object<'t>

impl<'js, 't> Outlive<'t> for String<'js>[src]

type Target = String<'t>

impl<'js, 't> Outlive<'t> for Symbol<'js>[src]

type Target = Symbol<'t>

impl<'js, 't> Outlive<'t> for Value<'js>[src]

type Target = Value<'t>

impl<'js, 't, C> Outlive<'t> for Class<'js, C>[src]

type Target = Class<'t, C>

Loading content...