Trait script::dom::bindings::codegen::Bindings::MessageChannelBinding::MessageChannel_Binding::MessageChannelMethods
source · pub trait MessageChannelMethods {
// Required methods
fn Port1(&self) -> Root<Dom<MessagePort>>;
fn Port2(&self) -> Root<Dom<MessagePort>>;
fn Constructor(
global: &GlobalScope,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
) -> Root<Dom<MessageChannel>>;
}
Required Methods§
fn Port1(&self) -> Root<Dom<MessagePort>>
fn Port2(&self) -> Root<Dom<MessagePort>>
fn Constructor( global: &GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, ) -> Root<Dom<MessageChannel>>
Object Safety§
This trait is not object safe.