Type Alias mozjs_sys::jsapi::JS::Rooted

source ·
pub type Rooted<T> = Rooted<T>;

Aliased Type§

struct Rooted<T> {
    pub stack: *mut *mut Rooted<*mut c_void>,
    pub prev: *mut Rooted<*mut c_void>,
    pub ptr: T,
}

Fields§

§stack: *mut *mut Rooted<*mut c_void>§prev: *mut Rooted<*mut c_void>§ptr: T

Implementations§

Trait Implementations§

source§

impl<T: Debug> Debug for Rooted<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more