]>
git.proxmox.com Git - rustc.git/blob - vendor/web-sys/src/features/gen_CssFontFeatureValuesRule.rs
1 #![allow(unused_imports)]
3 use wasm_bindgen
::prelude
::*;
6 # [wasm_bindgen (extends = CssRule , extends = :: js_sys :: Object , js_name = CSSFontFeatureValuesRule , typescript_type = "CSSFontFeatureValuesRule")]
7 #[derive(Debug, Clone, PartialEq, Eq)]
8 #[doc = "The `CssFontFeatureValuesRule` class."]
10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSFontFeatureValuesRule)"]
12 #[doc = "*This API requires the following crate features to be activated: `CssFontFeatureValuesRule`*"]
13 pub type CssFontFeatureValuesRule
;
14 # [wasm_bindgen (structural , method , getter , js_class = "CSSFontFeatureValuesRule" , js_name = fontFamily)]
15 #[doc = "Getter for the `fontFamily` field of this object."]
17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSFontFeatureValuesRule/fontFamily)"]
19 #[doc = "*This API requires the following crate features to be activated: `CssFontFeatureValuesRule`*"]
20 pub fn font_family(this
: &CssFontFeatureValuesRule
) -> String
;
21 # [wasm_bindgen (structural , method , setter , js_class = "CSSFontFeatureValuesRule" , js_name = fontFamily)]
22 #[doc = "Setter for the `fontFamily` field of this object."]
24 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSFontFeatureValuesRule/fontFamily)"]
26 #[doc = "*This API requires the following crate features to be activated: `CssFontFeatureValuesRule`*"]
27 pub fn set_font_family(this
: &CssFontFeatureValuesRule
, value
: &str);
28 # [wasm_bindgen (structural , method , getter , js_class = "CSSFontFeatureValuesRule" , js_name = valueText)]
29 #[doc = "Getter for the `valueText` field of this object."]
31 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSFontFeatureValuesRule/valueText)"]
33 #[doc = "*This API requires the following crate features to be activated: `CssFontFeatureValuesRule`*"]
34 pub fn value_text(this
: &CssFontFeatureValuesRule
) -> String
;
35 # [wasm_bindgen (structural , method , setter , js_class = "CSSFontFeatureValuesRule" , js_name = valueText)]
36 #[doc = "Setter for the `valueText` field of this object."]
38 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSFontFeatureValuesRule/valueText)"]
40 #[doc = "*This API requires the following crate features to be activated: `CssFontFeatureValuesRule`*"]
41 pub fn set_value_text(this
: &CssFontFeatureValuesRule
, value
: &str);