Trait josephine::trace::JSTraceable [] [src]

pub unsafe trait JSTraceable {
    unsafe fn trace(&self, trc: *mut JSTracer);

    fn as_ptr(&self) -> *const JSTraceable
    where
        Self: Sized
, { ... }
fn as_mut_ptr(&mut self) -> *mut JSTraceable
    where
        Self: Sized
, { ... } }

A trait for Rust data that can be traced.

Required Methods

Provided Methods

Implementations on Foreign Types

impl JSTraceable for String
[src]

[src]

[src]

[src]

impl JSTraceable for usize
[src]

[src]

[src]

[src]

impl JSTraceable for ()
[src]

[src]

[src]

[src]

impl<T> JSTraceable for Option<T> where
    T: JSTraceable
[src]

[src]

[src]

[src]

impl<T> JSTraceable for Vec<T> where
    T: JSTraceable
[src]

[src]

[src]

[src]

Implementors