pub(crate) trait ProgressEventMethods<D>where
    D: DomTypes,{
    // Required methods
    fn LengthComputable(&self) -> bool;
    fn Loaded(&self) -> Finite<f64>;
    fn Total(&self) -> Finite<f64>;
    fn IsTrusted(&self) -> bool;
    fn Constructor(
        global: &<D as DomTypes>::GlobalScope,
        proto: Option<Handle<'_, *mut JSObject>>,
        can_gc: CanGc,
        type_: DOMString,
        eventInitDict: &ProgressEventInit,
    ) -> Result<Root<Dom<<D as DomTypes>::ProgressEvent>>, Error>;
}Required Methods§
fn LengthComputable(&self) -> bool
fn Loaded(&self) -> Finite<f64>
fn Total(&self) -> Finite<f64>
fn IsTrusted(&self) -> bool
fn Constructor( global: &<D as DomTypes>::GlobalScope, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, type_: DOMString, eventInitDict: &ProgressEventInit, ) -> Result<Root<Dom<<D as DomTypes>::ProgressEvent>>, Error>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.