script::dom::bindings::import::module::jsapi

Type Alias RootedBigInt

Source
pub type RootedBigInt = Rooted<*mut BigInt>;

Aliased Type§

struct RootedBigInt {
    pub vtable: (),
    pub base: RootedBase,
    pub ptr: MaybeUninit<*mut BigInt>,
}

Fields§

§vtable: ()§base: RootedBase§ptr: MaybeUninit<*mut BigInt>

The rooted value

This will be initialied iff there is a RootedGuard for this Rooted

Implementations

Source§

impl<T> Rooted<T>
where T: RootKind,

Source

pub fn new_unrooted() -> Rooted<T>

Source

pub unsafe fn add_to_root_stack(&mut self, cx: *mut JSContext)

Source

pub unsafe fn remove_from_root_stack(&mut self)