1 | #![allow (unused_imports)] |
2 | #![allow (clippy::all)] |
3 | use super::*; |
4 | use wasm_bindgen::prelude::*; |
5 | #[wasm_bindgen ] |
6 | unsafeextern "C" { |
7 | # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ImageBitmapRenderingContext , typescript_type = "ImageBitmapRenderingContext" )] |
8 | #[derive (Debug, Clone, PartialEq, Eq)] |
9 | #[doc = "The `ImageBitmapRenderingContext` class." ] |
10 | #[doc = "" ] |
11 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmapRenderingContext)" ] |
12 | #[doc = "" ] |
13 | #[doc = "*This API requires the following crate features to be activated: `ImageBitmapRenderingContext`*" ] |
14 | pub type ImageBitmapRenderingContext; |
15 | #[cfg (feature = "ImageBitmap" )] |
16 | # [wasm_bindgen (method , structural , js_class = "ImageBitmapRenderingContext" , js_name = transferFromImageBitmap)] |
17 | #[doc = "The `transferFromImageBitmap()` method." ] |
18 | #[doc = "" ] |
19 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmapRenderingContext/transferFromImageBitmap)" ] |
20 | #[doc = "" ] |
21 | #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapRenderingContext`*" ] |
22 | pub unsafefn transfer_from_image_bitmap(this: &ImageBitmapRenderingContext, bitmap: &ImageBitmap); |
23 | #[cfg (feature = "ImageBitmap" )] |
24 | # [wasm_bindgen (method , structural , js_class = "ImageBitmapRenderingContext" , js_name = transferImageBitmap)] |
25 | #[doc = "The `transferImageBitmap()` method." ] |
26 | #[doc = "" ] |
27 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmapRenderingContext/transferImageBitmap)" ] |
28 | #[doc = "" ] |
29 | #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapRenderingContext`*" ] |
30 | pub unsafefn transfer_image_bitmap(this: &ImageBitmapRenderingContext, bitmap: &ImageBitmap); |
31 | } |
32 | |