RPM build fix (reverted CI changes which will need to be un-reverted or made conditional) and vendor Rust dependencies to make builds much faster in any CI system.
This commit is contained in:
127
zeroidc/vendor/web-sys/src/features/gen_GamepadServiceTest.rs
vendored
Normal file
127
zeroidc/vendor/web-sys/src/features/gen_GamepadServiceTest.rs
vendored
Normal file
@@ -0,0 +1,127 @@
|
||||
#![allow(unused_imports)]
|
||||
use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GamepadServiceTest , typescript_type = "GamepadServiceTest")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GamepadServiceTest` class."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GamepadServiceTest`*"]
|
||||
pub type GamepadServiceTest;
|
||||
#[cfg(feature = "GamepadMappingType")]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GamepadServiceTest" , js_name = noMapping)]
|
||||
#[doc = "Getter for the `noMapping` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/noMapping)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GamepadMappingType`, `GamepadServiceTest`*"]
|
||||
pub fn no_mapping(this: &GamepadServiceTest) -> GamepadMappingType;
|
||||
#[cfg(feature = "GamepadMappingType")]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GamepadServiceTest" , js_name = standardMapping)]
|
||||
#[doc = "Getter for the `standardMapping` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/standardMapping)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GamepadMappingType`, `GamepadServiceTest`*"]
|
||||
pub fn standard_mapping(this: &GamepadServiceTest) -> GamepadMappingType;
|
||||
#[cfg(feature = "GamepadHand")]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GamepadServiceTest" , js_name = noHand)]
|
||||
#[doc = "Getter for the `noHand` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/noHand)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GamepadHand`, `GamepadServiceTest`*"]
|
||||
pub fn no_hand(this: &GamepadServiceTest) -> GamepadHand;
|
||||
#[cfg(feature = "GamepadHand")]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GamepadServiceTest" , js_name = leftHand)]
|
||||
#[doc = "Getter for the `leftHand` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/leftHand)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GamepadHand`, `GamepadServiceTest`*"]
|
||||
pub fn left_hand(this: &GamepadServiceTest) -> GamepadHand;
|
||||
#[cfg(feature = "GamepadHand")]
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GamepadServiceTest" , js_name = rightHand)]
|
||||
#[doc = "Getter for the `rightHand` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/rightHand)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GamepadHand`, `GamepadServiceTest`*"]
|
||||
pub fn right_hand(this: &GamepadServiceTest) -> GamepadHand;
|
||||
#[cfg(all(feature = "GamepadHand", feature = "GamepadMappingType",))]
|
||||
# [wasm_bindgen (catch , method , structural , js_class = "GamepadServiceTest" , js_name = addGamepad)]
|
||||
#[doc = "The `addGamepad()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/addGamepad)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GamepadHand`, `GamepadMappingType`, `GamepadServiceTest`*"]
|
||||
pub fn add_gamepad(
|
||||
this: &GamepadServiceTest,
|
||||
id: &str,
|
||||
mapping: GamepadMappingType,
|
||||
hand: GamepadHand,
|
||||
num_buttons: u32,
|
||||
num_axes: u32,
|
||||
num_haptics: u32,
|
||||
) -> Result<::js_sys::Promise, JsValue>;
|
||||
# [wasm_bindgen (method , structural , js_class = "GamepadServiceTest" , js_name = newAxisMoveEvent)]
|
||||
#[doc = "The `newAxisMoveEvent()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/newAxisMoveEvent)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GamepadServiceTest`*"]
|
||||
pub fn new_axis_move_event(this: &GamepadServiceTest, index: u32, axis: u32, value: f64);
|
||||
# [wasm_bindgen (method , structural , js_class = "GamepadServiceTest" , js_name = newButtonEvent)]
|
||||
#[doc = "The `newButtonEvent()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/newButtonEvent)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GamepadServiceTest`*"]
|
||||
pub fn new_button_event(
|
||||
this: &GamepadServiceTest,
|
||||
index: u32,
|
||||
button: u32,
|
||||
pressed: bool,
|
||||
touched: bool,
|
||||
);
|
||||
# [wasm_bindgen (method , structural , js_class = "GamepadServiceTest" , js_name = newButtonValueEvent)]
|
||||
#[doc = "The `newButtonValueEvent()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/newButtonValueEvent)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GamepadServiceTest`*"]
|
||||
pub fn new_button_value_event(
|
||||
this: &GamepadServiceTest,
|
||||
index: u32,
|
||||
button: u32,
|
||||
pressed: bool,
|
||||
touched: bool,
|
||||
value: f64,
|
||||
);
|
||||
# [wasm_bindgen (method , structural , js_class = "GamepadServiceTest" , js_name = newPoseMove)]
|
||||
#[doc = "The `newPoseMove()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/newPoseMove)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GamepadServiceTest`*"]
|
||||
pub fn new_pose_move(
|
||||
this: &GamepadServiceTest,
|
||||
index: u32,
|
||||
orient: Option<&mut [f32]>,
|
||||
pos: Option<&mut [f32]>,
|
||||
ang_velocity: Option<&mut [f32]>,
|
||||
ang_acceleration: Option<&mut [f32]>,
|
||||
lin_velocity: Option<&mut [f32]>,
|
||||
lin_acceleration: Option<&mut [f32]>,
|
||||
);
|
||||
# [wasm_bindgen (method , structural , js_class = "GamepadServiceTest" , js_name = removeGamepad)]
|
||||
#[doc = "The `removeGamepad()` method."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadServiceTest/removeGamepad)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GamepadServiceTest`*"]
|
||||
pub fn remove_gamepad(this: &GamepadServiceTest, index: u32);
|
||||
}
|
||||
Reference in New Issue
Block a user