Trait josephine::root::JSLifetime [] [src]

pub unsafe trait JSLifetime<'a> {
    type Aged;
    unsafe fn change_lifetime(self) -> Self::Aged
    where
        Self: Sized
, { ... }
fn contract_lifetime(self) -> Self::Aged
    where
        Self: 'a + Sized
, { ... }
fn in_root(self, root: &'a mut JSRoot<'a, Self::Aged>) -> Self::Aged
    where
        Self: Sized,
        Self::Aged: Copy + JSTraceable
, { ... } }

Data which can be rooted.

Associated Types

Provided Methods

Implementations on Foreign Types

impl<'a> JSLifetime<'a> for String
[src]

[src]

[src]

[src]

impl<'a> JSLifetime<'a> for usize
[src]

[src]

[src]

[src]

impl<'a, T> JSLifetime<'a> for Option<T> where
    T: JSLifetime<'a>, 
[src]

[src]

[src]

[src]

impl<'a, T> JSLifetime<'a> for Vec<T> where
    T: JSLifetime<'a>, 
[src]

[src]

[src]

[src]

Implementors