pub trait IDLInterface {
// Required method
fn derives(_: &'static DOMClass) -> bool;
}Expand description
A trait to check whether a given JSObject implements an IDL interface.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".