summaryrefslogtreecommitdiffstats
path: root/vendor/web-sys/src/features/gen_VttRegion.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 02:49:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 02:49:50 +0000
commit9835e2ae736235810b4ea1c162ca5e65c547e770 (patch)
tree3fcebf40ed70e581d776a8a4c65923e8ec20e026 /vendor/web-sys/src/features/gen_VttRegion.rs
parentReleasing progress-linux version 1.70.0+dfsg2-1~progress7.99u1. (diff)
downloadrustc-9835e2ae736235810b4ea1c162ca5e65c547e770.tar.xz
rustc-9835e2ae736235810b4ea1c162ca5e65c547e770.zip
Merging upstream version 1.71.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/web-sys/src/features/gen_VttRegion.rs')
-rw-r--r--vendor/web-sys/src/features/gen_VttRegion.rs135
1 files changed, 135 insertions, 0 deletions
diff --git a/vendor/web-sys/src/features/gen_VttRegion.rs b/vendor/web-sys/src/features/gen_VttRegion.rs
new file mode 100644
index 000000000..71e3fb3d0
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_VttRegion.rs
@@ -0,0 +1,135 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VTTRegion , typescript_type = "VTTRegion")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `VttRegion` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub type VttRegion;
+ # [wasm_bindgen (structural , method , getter , js_class = "VTTRegion" , js_name = id)]
+ #[doc = "Getter for the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/id)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn id(this: &VttRegion) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "VTTRegion" , js_name = id)]
+ #[doc = "Setter for the `id` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/id)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn set_id(this: &VttRegion, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "VTTRegion" , js_name = width)]
+ #[doc = "Getter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn width(this: &VttRegion) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "VTTRegion" , js_name = width)]
+ #[doc = "Setter for the `width` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/width)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn set_width(this: &VttRegion, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "VTTRegion" , js_name = lines)]
+ #[doc = "Getter for the `lines` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/lines)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn lines(this: &VttRegion) -> i32;
+ # [wasm_bindgen (structural , method , setter , js_class = "VTTRegion" , js_name = lines)]
+ #[doc = "Setter for the `lines` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/lines)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn set_lines(this: &VttRegion, value: i32);
+ # [wasm_bindgen (structural , method , getter , js_class = "VTTRegion" , js_name = regionAnchorX)]
+ #[doc = "Getter for the `regionAnchorX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/regionAnchorX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn region_anchor_x(this: &VttRegion) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "VTTRegion" , js_name = regionAnchorX)]
+ #[doc = "Setter for the `regionAnchorX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/regionAnchorX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn set_region_anchor_x(this: &VttRegion, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "VTTRegion" , js_name = regionAnchorY)]
+ #[doc = "Getter for the `regionAnchorY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/regionAnchorY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn region_anchor_y(this: &VttRegion) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "VTTRegion" , js_name = regionAnchorY)]
+ #[doc = "Setter for the `regionAnchorY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/regionAnchorY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn set_region_anchor_y(this: &VttRegion, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "VTTRegion" , js_name = viewportAnchorX)]
+ #[doc = "Getter for the `viewportAnchorX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/viewportAnchorX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn viewport_anchor_x(this: &VttRegion) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "VTTRegion" , js_name = viewportAnchorX)]
+ #[doc = "Setter for the `viewportAnchorX` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/viewportAnchorX)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn set_viewport_anchor_x(this: &VttRegion, value: f64);
+ # [wasm_bindgen (structural , method , getter , js_class = "VTTRegion" , js_name = viewportAnchorY)]
+ #[doc = "Getter for the `viewportAnchorY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/viewportAnchorY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn viewport_anchor_y(this: &VttRegion) -> f64;
+ # [wasm_bindgen (structural , method , setter , js_class = "VTTRegion" , js_name = viewportAnchorY)]
+ #[doc = "Setter for the `viewportAnchorY` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/viewportAnchorY)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn set_viewport_anchor_y(this: &VttRegion, value: f64);
+ #[cfg(feature = "ScrollSetting")]
+ # [wasm_bindgen (structural , method , getter , js_class = "VTTRegion" , js_name = scroll)]
+ #[doc = "Getter for the `scroll` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/scroll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollSetting`, `VttRegion`*"]
+ pub fn scroll(this: &VttRegion) -> ScrollSetting;
+ #[cfg(feature = "ScrollSetting")]
+ # [wasm_bindgen (structural , method , setter , js_class = "VTTRegion" , js_name = scroll)]
+ #[doc = "Setter for the `scroll` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/scroll)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `ScrollSetting`, `VttRegion`*"]
+ pub fn set_scroll(this: &VttRegion, value: ScrollSetting);
+ #[wasm_bindgen(catch, constructor, js_class = "VTTRegion")]
+ #[doc = "The `new VttRegion(..)` constructor, creating a new instance of `VttRegion`."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/VTTRegion)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `VttRegion`*"]
+ pub fn new() -> Result<VttRegion, JsValue>;
+}