Trait script::dom::bindings::codegen::Bindings::ProgressEventBinding::ProgressEvent_Binding::ProgressEventMethods
source · pub trait ProgressEventMethods {
// Required methods
fn LengthComputable(&self) -> bool;
fn Loaded(&self) -> u64;
fn Total(&self) -> u64;
fn IsTrusted(&self) -> bool;
fn Constructor(
global: &GlobalScope,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
type_: DOMString,
eventInitDict: &ProgressEventInit,
) -> Result<Root<Dom<ProgressEvent>>, Error>;
}
Required Methods§
fn LengthComputable(&self) -> bool
fn Loaded(&self) -> u64
fn Total(&self) -> u64
fn IsTrusted(&self) -> bool
fn Constructor( global: &GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInitDict: &ProgressEventInit, ) -> Result<Root<Dom<ProgressEvent>>, Error>
Object Safety§
This trait is not object safe.