pub(crate) trait ImageBitmapMethods<D: DomTypes> { // Required methods fn Width(&self) -> u32; fn Height(&self) -> u32; fn Close(&self); }