Enum ux::InputDeviceType [−][src]
#[non_exhaustive] pub enum InputDeviceType { PointerDevice, KeyboardDevice, ExtensionDevice, JoystickDevice, TabletDevice, TouchpadDevice, TouchscreenDevice, PenDevice, EraserDevice, CursorDevice, NDeviceTypes, // some variants omitted }
The types of input devices available.
The InputDeviceType
enumeration can be extended at later
date; not every platform supports every input device type.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
A pointer device
A keyboard device
A generic extension device
A joystick device
A tablet device
A touchpad device
A touch screen device
A pen device
An eraser device
A cursor device
The number of device types
Trait Implementations
impl Clone for InputDeviceType
[src]
impl Clone for InputDeviceType
[src]pub fn clone(&self) -> InputDeviceType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for InputDeviceType
[src]
impl Copy for InputDeviceType
[src]impl Debug for InputDeviceType
[src]
impl Debug for InputDeviceType
[src]impl Display for InputDeviceType
[src]
impl Display for InputDeviceType
[src]impl Eq for InputDeviceType
[src]
impl Eq for InputDeviceType
[src]impl<'a> FromValue<'a> for InputDeviceType
[src]
impl<'a> FromValue<'a> for InputDeviceType
[src]pub unsafe fn from_value(value: &Value) -> InputDeviceType
[src]
impl<'a> FromValueOptional<'a> for InputDeviceType
[src]
impl<'a> FromValueOptional<'a> for InputDeviceType
[src]pub unsafe fn from_value_optional(value: &Value) -> Option<InputDeviceType>
[src]
impl Hash for InputDeviceType
[src]
impl Hash for InputDeviceType
[src]impl Ord for InputDeviceType
[src]
impl Ord for InputDeviceType
[src]impl PartialEq<InputDeviceType> for InputDeviceType
[src]
impl PartialEq<InputDeviceType> for InputDeviceType
[src]pub fn eq(&self, other: &InputDeviceType) -> bool
[src]
pub fn ne(&self, other: &InputDeviceType) -> bool
[src]
impl PartialOrd<InputDeviceType> for InputDeviceType
[src]
impl PartialOrd<InputDeviceType> for InputDeviceType
[src]pub fn partial_cmp(&self, other: &InputDeviceType) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl SetValue for InputDeviceType
[src]
impl SetValue for InputDeviceType
[src]pub unsafe fn set_value(value: &mut Value, this: &InputDeviceType)
[src]
impl StaticType for InputDeviceType
[src]
impl StaticType for InputDeviceType
[src]pub fn static_type() -> Type
[src]
impl StructuralEq for InputDeviceType
[src]
impl StructuralEq for InputDeviceType
[src]impl StructuralPartialEq for InputDeviceType
[src]
impl StructuralPartialEq for InputDeviceType
[src]Auto Trait Implementations
impl RefUnwindSafe for InputDeviceType
impl RefUnwindSafe for InputDeviceType
impl Send for InputDeviceType
impl Send for InputDeviceType
impl Sync for InputDeviceType
impl Sync for InputDeviceType
impl Unpin for InputDeviceType
impl Unpin for InputDeviceType
impl UnwindSafe for InputDeviceType
impl UnwindSafe for InputDeviceType
Blanket Implementations
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]pub fn into_color(self) -> To
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]pub fn to_send_value(&self) -> SendValue
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,