1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
#![allow(unused_imports)]
use super::*;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern "C" {
    # [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = SVGAngle , typescript_type = "SVGAngle" ) ]
    #[derive(Debug, Clone, PartialEq, Eq)]
    #[doc = "The `SvgAngle` class."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
    pub type SvgAngle;
    # [ wasm_bindgen ( structural , method , getter , js_class = "SVGAngle" , js_name = unitType ) ]
    #[doc = "Getter for the `unitType` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/unitType)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
    pub fn unit_type(this: &SvgAngle) -> u16;
    # [ wasm_bindgen ( structural , method , getter , js_class = "SVGAngle" , js_name = value ) ]
    #[doc = "Getter for the `value` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/value)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
    pub fn value(this: &SvgAngle) -> f32;
    # [ wasm_bindgen ( structural , method , setter , js_class = "SVGAngle" , js_name = value ) ]
    #[doc = "Setter for the `value` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/value)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
    pub fn set_value(this: &SvgAngle, value: f32);
    # [ wasm_bindgen ( structural , method , getter , js_class = "SVGAngle" , js_name = valueInSpecifiedUnits ) ]
    #[doc = "Getter for the `valueInSpecifiedUnits` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/valueInSpecifiedUnits)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
    pub fn value_in_specified_units(this: &SvgAngle) -> f32;
    # [ wasm_bindgen ( structural , method , setter , js_class = "SVGAngle" , js_name = valueInSpecifiedUnits ) ]
    #[doc = "Setter for the `valueInSpecifiedUnits` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/valueInSpecifiedUnits)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
    pub fn set_value_in_specified_units(this: &SvgAngle, value: f32);
    # [ wasm_bindgen ( structural , method , getter , js_class = "SVGAngle" , js_name = valueAsString ) ]
    #[doc = "Getter for the `valueAsString` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/valueAsString)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
    pub fn value_as_string(this: &SvgAngle) -> String;
    # [ wasm_bindgen ( structural , method , setter , js_class = "SVGAngle" , js_name = valueAsString ) ]
    #[doc = "Setter for the `valueAsString` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/valueAsString)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
    pub fn set_value_as_string(this: &SvgAngle, value: &str);
    # [ wasm_bindgen ( catch , method , structural , js_class = "SVGAngle" , js_name = convertToSpecifiedUnits ) ]
    #[doc = "The `convertToSpecifiedUnits()` method."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/convertToSpecifiedUnits)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
    pub fn convert_to_specified_units(this: &SvgAngle, unit_type: u16) -> Result<(), JsValue>;
    # [ wasm_bindgen ( catch , method , structural , js_class = "SVGAngle" , js_name = newValueSpecifiedUnits ) ]
    #[doc = "The `newValueSpecifiedUnits()` method."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAngle/newValueSpecifiedUnits)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
    pub fn new_value_specified_units(
        this: &SvgAngle,
        unit_type: u16,
        value_in_specified_units: f32,
    ) -> Result<(), JsValue>;
}
impl SvgAngle {
    #[doc = "The `SVGAngle.SVG_ANGLETYPE_UNKNOWN` const."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
    pub const SVG_ANGLETYPE_UNKNOWN: u16 = 0i64 as u16;
    #[doc = "The `SVGAngle.SVG_ANGLETYPE_UNSPECIFIED` const."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
    pub const SVG_ANGLETYPE_UNSPECIFIED: u16 = 1u64 as u16;
    #[doc = "The `SVGAngle.SVG_ANGLETYPE_DEG` const."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
    pub const SVG_ANGLETYPE_DEG: u16 = 2u64 as u16;
    #[doc = "The `SVGAngle.SVG_ANGLETYPE_RAD` const."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
    pub const SVG_ANGLETYPE_RAD: u16 = 3u64 as u16;
    #[doc = "The `SVGAngle.SVG_ANGLETYPE_GRAD` const."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `SvgAngle`*"]
    pub const SVG_ANGLETYPE_GRAD: u16 = 4u64 as u16;
}