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:
35
zeroidc/vendor/web-sys/src/features/gen_GamepadButton.rs
vendored
Normal file
35
zeroidc/vendor/web-sys/src/features/gen_GamepadButton.rs
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
#![allow(unused_imports)]
|
||||
use super::*;
|
||||
use wasm_bindgen::prelude::*;
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = GamepadButton , typescript_type = "GamepadButton")]
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
#[doc = "The `GamepadButton` class."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadButton)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GamepadButton`*"]
|
||||
pub type GamepadButton;
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GamepadButton" , js_name = pressed)]
|
||||
#[doc = "Getter for the `pressed` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadButton/pressed)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GamepadButton`*"]
|
||||
pub fn pressed(this: &GamepadButton) -> bool;
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GamepadButton" , js_name = touched)]
|
||||
#[doc = "Getter for the `touched` field of this object."]
|
||||
#[doc = ""]
|
||||
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/GamepadButton/touched)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GamepadButton`*"]
|
||||
pub fn touched(this: &GamepadButton) -> bool;
|
||||
# [wasm_bindgen (structural , method , getter , js_class = "GamepadButton" , 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/GamepadButton/value)"]
|
||||
#[doc = ""]
|
||||
#[doc = "*This API requires the following crate features to be activated: `GamepadButton`*"]
|
||||
pub fn value(this: &GamepadButton) -> f64;
|
||||
}
|
||||
Reference in New Issue
Block a user