pub trait ImageDataTrait {
// Required methods
fn is_detached(&self, cx: &mut JSContext) -> bool;
fn get_snapshot(&self, no_gc: &NoGC) -> Snapshot;
}Required Methods§
fn is_detached(&self, cx: &mut JSContext) -> bool
fn get_snapshot(&self, no_gc: &NoGC) -> Snapshot
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".