Enum web_sys::GamepadMappingType
source · [−]pub enum GamepadMappingType {
None,
Standard,
// some variants omitted
}
Expand description
The GamepadMappingType
enum.
This API requires the following crate features to be activated: GamepadMappingType
Variants
None
Standard
Implementations
sourceimpl GamepadMappingType
impl GamepadMappingType
pub fn from_js_value(obj: &JsValue) -> Option<GamepadMappingType>
Trait Implementations
sourceimpl Clone for GamepadMappingType
impl Clone for GamepadMappingType
sourcefn clone(&self) -> GamepadMappingType
fn clone(&self) -> GamepadMappingType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GamepadMappingType
impl Debug for GamepadMappingType
sourceimpl From<GamepadMappingType> for JsValue
impl From<GamepadMappingType> for JsValue
sourcefn from(obj: GamepadMappingType) -> JsValue
fn from(obj: GamepadMappingType) -> JsValue
Converts to this type from the input type.
sourceimpl FromWasmAbi for GamepadMappingType
impl FromWasmAbi for GamepadMappingType
sourceimpl IntoWasmAbi for GamepadMappingType
impl IntoWasmAbi for GamepadMappingType
sourceimpl WasmDescribe for GamepadMappingType
impl WasmDescribe for GamepadMappingType
impl Copy for GamepadMappingType
impl Eq for GamepadMappingType
impl StructuralEq for GamepadMappingType
impl StructuralPartialEq for GamepadMappingType
Auto Trait Implementations
impl RefUnwindSafe for GamepadMappingType
impl Send for GamepadMappingType
impl Sync for GamepadMappingType
impl Unpin for GamepadMappingType
impl UnwindSafe for GamepadMappingType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
sourcefn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more