pub type Rooted<T> = Rooted<T>;Aliased Type§
#[repr(C)]pub struct Rooted<T> {
pub vtable: <T as RootKind>::Vtable,
pub base: RootedBase,
pub data: T,
}Fields§
§vtable: <T as RootKind>::Vtable§base: RootedBase§data: TImplementations§
Source§impl<T: RootKind> Rooted<T>
impl<T: RootKind> Rooted<T>
pub fn new_unrooted(initial: T) -> Rooted<T>
pub unsafe fn add_to_root_stack(this: *mut Self, cx: *mut JSContext)
pub unsafe fn remove_from_root_stack(&mut self)
Layout§
Note: Encountered an error during type layout; the type failed to be normalized.