#[repr(u32)]pub enum InputDeviceType {
Generic = 1,
Semantical = 2,
}Expand description
Input-device class declared by the official SDK.
Variants§
Generic = 1
Generic device whose inputs can be bound in the game UI.
Semantical = 2
Device whose input names map directly to supported game mixes.
Implementations§
Trait Implementations§
Source§impl Clone for InputDeviceType
impl Clone for InputDeviceType
Source§fn clone(&self) -> InputDeviceType
fn clone(&self) -> InputDeviceType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InputDeviceType
Source§impl Debug for InputDeviceType
impl Debug for InputDeviceType
impl Eq for InputDeviceType
Source§impl PartialEq for InputDeviceType
impl PartialEq for InputDeviceType
impl StructuralPartialEq for InputDeviceType
Auto Trait Implementations§
impl Freeze for InputDeviceType
impl RefUnwindSafe for InputDeviceType
impl Send for InputDeviceType
impl Sync for InputDeviceType
impl Unpin for InputDeviceType
impl UnsafeUnpin for InputDeviceType
impl UnwindSafe for InputDeviceType
Blanket Implementations§
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