RootedVector_Base

Type Alias RootedVector_Base 

Source
pub type RootedVector_Base = Rooted<RootedVector_Vec>;
Expand description

Local variable of type T whose value is always rooted. This is typically used for local variables, or for non-rooted values being passed to a function that requires a handle, e.g. Foo(Root(cx, x)).

If you want to add additional methods to Rooted for a specific specialization, define a RootedOperations specialization containing them.

Aliased Type§

#[repr(C)]
pub struct RootedVector_Base { pub vtable: <u8 as RootKind>::Vtable, pub base: RootedBase, pub data: u8, }

Fields§

§vtable: <u8 as RootKind>::Vtable§base: RootedBase§data: u8

Layout§

Note: Encountered an error during type layout; the type failed to be normalized.