script::dom::bindings::codegen::Bindings::WindowBinding

Type Alias WindowPostMessageOptions

Source
pub(crate) type WindowPostMessageOptions = WindowPostMessageOptions;

Aliased Type§

struct WindowPostMessageOptions {
    pub parent: RootedTraceableBox<StructuredSerializeOptions>,
    pub targetOrigin: USVString,
}

Fields§

§parent: RootedTraceableBox<StructuredSerializeOptions>§targetOrigin: USVString

Implementations

Trait Implementations

Source§

impl Default for WindowPostMessageOptions

Source§

fn default() -> WindowPostMessageOptions

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

impl ToJSValConvertible for WindowPostMessageOptions

Source§

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

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

impl Traceable for WindowPostMessageOptions

Source§

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

Trace self.