script::dom::bindings::codegen::Bindings::PopStateEventBinding

Type Alias PopStateEventInit

Source
pub(crate) type PopStateEventInit = PopStateEventInit;

Aliased Type§

struct PopStateEventInit {
    pub(crate) parent: EventInit,
    pub(crate) state: RootedTraceableBox<Heap<Value>>,
}

Fields§

§parent: EventInit§state: RootedTraceableBox<Heap<Value>>

Implementations

Trait Implementations

Source§

impl Default for PopStateEventInit

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl ToJSValConvertible for PopStateEventInit

Source§

unsafe fn to_jsval(&self, cx: *mut JSContext, rval: MutableHandleValue<'_>)

Convert self to a JSVal. JSAPI failure causes a panic.
Source§

impl Traceable for PopStateEventInit

Source§

unsafe fn trace(&self, tracer: *mut JSTracer)

Trace self.