pub(crate) type ImageBitmapSource = ImageBitmapSource<DomTypeHolder>;
Aliased Type§
pub(crate) enum ImageBitmapSource {
HTMLImageElement(Root<Dom<HTMLImageElement>>),
HTMLVideoElement(Root<Dom<HTMLVideoElement>>),
HTMLCanvasElement(Root<Dom<HTMLCanvasElement>>),
ImageBitmap(Root<Dom<ImageBitmap>>),
OffscreenCanvas(Root<Dom<OffscreenCanvas>>),
CSSStyleValue(Root<Dom<CSSStyleValue>>),
Blob(Root<Dom<Blob>>),
ImageData(Root<Dom<ImageData>>),
}