pub enum KeyDeviceType {
Keyboard,
Gamepad,
Remote,
}Expand description
Enumerates key device types.
Variants§
Keyboard
The key device is a keyboard.
Gamepad
The key device is a gamepad.
Remote
The key device is a remote control.
Trait Implementations§
Source§impl Clone for KeyDeviceType
impl Clone for KeyDeviceType
impl Copy for KeyDeviceType
Source§impl Debug for KeyDeviceType
impl Debug for KeyDeviceType
Source§impl Default for KeyDeviceType
impl Default for KeyDeviceType
impl Eq for KeyDeviceType
Source§impl Hash for KeyDeviceType
impl Hash for KeyDeviceType
Source§impl MarkupTyped for KeyDeviceType
impl MarkupTyped for KeyDeviceType
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for KeyDeviceType
impl PartialEq for KeyDeviceType
impl StructuralPartialEq for KeyDeviceType
Auto Trait Implementations§
impl Freeze for KeyDeviceType
impl RefUnwindSafe for KeyDeviceType
impl Send for KeyDeviceType
impl Sync for KeyDeviceType
impl Unpin for KeyDeviceType
impl UnsafeUnpin for KeyDeviceType
impl UnwindSafe for KeyDeviceType
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more