Trait script::dom::bindings::codegen::Bindings::TrackEventBinding::TrackEvent_Binding::TrackEventMethods
source · pub trait TrackEventMethods<D: DomTypes> {
// Required methods
fn GetTrack(&self) -> Option<VideoTrackOrAudioTrackOrTextTrack>;
fn IsTrusted(&self) -> bool;
fn Constructor(
global: &Window,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
type_: DOMString,
eventInitDict: &TrackEventInit,
) -> Result<Root<Dom<TrackEvent>>, Error>;
}
Required Methods§
fn GetTrack(&self) -> Option<VideoTrackOrAudioTrackOrTextTrack>
fn IsTrusted(&self) -> bool
fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInitDict: &TrackEventInit, ) -> Result<Root<Dom<TrackEvent>>, Error>
Object Safety§
This trait is not object safe.