pub(crate) trait ProgressEventMethods<D: DomTypes> {
    // Required methods
    fn LengthComputable(&self) -> bool;
    fn Loaded(&self) -> u64;
    fn Total(&self) -> u64;
    fn IsTrusted(&self) -> bool;
    fn Constructor(
        global: &D::GlobalScope,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        type_: DOMString,
        eventInitDict: &ProgressEventInit,
    ) -> Fallible<DomRoot<D::ProgressEvent>>;
}

Required Methods§

Source

fn LengthComputable(&self) -> bool

Source

fn Loaded(&self) -> u64

Source

fn Total(&self) -> u64

Source

fn IsTrusted(&self) -> bool

Source

fn Constructor( global: &D::GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInitDict: &ProgressEventInit, ) -> Fallible<DomRoot<D::ProgressEvent>>

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.

Implementors§