pub(crate) trait IDBVersionChangeEventMethods<D>where
D: DomTypes,{
// Required methods
fn OldVersion(&self) -> u64;
fn GetNewVersion(&self) -> Option<u64>;
fn IsTrusted(&self) -> bool;
fn Constructor(
cx: &mut JSContext,
global: &<D as DomTypes>::GlobalScope,
proto: Option<Handle<'_, *mut JSObject>>,
type_: DOMString,
eventInitDict: &IDBVersionChangeEventInit,
) -> Root<Dom<<D as DomTypes>::IDBVersionChangeEvent>>;
}Required Methods§
fn OldVersion(&self) -> u64
fn GetNewVersion(&self) -> Option<u64>
fn IsTrusted(&self) -> bool
fn Constructor( cx: &mut JSContext, global: &<D as DomTypes>::GlobalScope, proto: Option<Handle<'_, *mut JSObject>>, type_: DOMString, eventInitDict: &IDBVersionChangeEventInit, ) -> Root<Dom<<D as DomTypes>::IDBVersionChangeEvent>>
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.