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
type Aged
Provided Methods
unsafe fn change_lifetime(self) -> Self::Aged where
Self: Sized,
Self: Sized,
fn contract_lifetime(self) -> Self::Aged where
Self: 'a + Sized,
Self: 'a + Sized,
fn in_root(self, root: &'a mut JSRoot<'a, Self::Aged>) -> Self::Aged where
Self: Sized,
Self::Aged: Copy + JSTraceable,
Self: Sized,
Self::Aged: Copy + JSTraceable,
Implementations on Foreign Types
impl<'a> JSLifetime<'a> for String
[src]
impl<'a> JSLifetime<'a> for usize
[src]
impl<'a, T> JSLifetime<'a> for Option<T> where
T: JSLifetime<'a>,
[src]
T: JSLifetime<'a>,
impl<'a, T> JSLifetime<'a> for Vec<T> where
T: JSLifetime<'a>,
[src]
T: JSLifetime<'a>,