Trait script::dom::bindings::codegen::Bindings::RTCDataChannelEventBinding::RTCDataChannelEvent_Binding::RTCDataChannelEventMethods
source · pub trait RTCDataChannelEventMethods<D: DomTypes> {
// Required methods
fn Channel(&self) -> Root<Dom<RTCDataChannel>>;
fn IsTrusted(&self) -> bool;
fn Constructor(
global: &Window,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
type_: DOMString,
eventInitDict: &RTCDataChannelEventInit,
) -> Root<Dom<RTCDataChannelEvent>>;
}
Required Methods§
fn Channel(&self) -> Root<Dom<RTCDataChannel>>
fn IsTrusted(&self) -> bool
fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInitDict: &RTCDataChannelEventInit, ) -> Root<Dom<RTCDataChannelEvent>>
Object Safety§
This trait is not object safe.