Enum components::InputMode [−][src]
#[non_exhaustive]
pub enum InputMode {
Master,
Slave,
Floating,
// some variants omitted
}The mode for input devices available.
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 master, virtual device
A slave, physical device, attached to a master device
A slave, physical device, not attached to a master device
Trait Implementations
impl<'a> FromValueOptional<'a> for InputMode[src]
impl<'a> FromValueOptional<'a> for InputMode[src]pub unsafe fn from_value_optional(value: &Value) -> Option<InputMode>[src]
impl PartialOrd<InputMode> for InputMode[src]
impl PartialOrd<InputMode> for InputMode[src]pub fn partial_cmp(&self, other: &InputMode) -> Option<Ordering>[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl StaticType for InputMode[src]
impl StaticType for InputMode[src]pub fn static_type() -> Type[src]
impl StructuralEq for InputMode[src]
impl StructuralEq for InputMode[src]impl StructuralPartialEq for InputMode[src]
impl StructuralPartialEq for InputMode[src]Auto Trait Implementations
impl RefUnwindSafe for InputMode
impl RefUnwindSafe for InputModeimpl UnwindSafe for InputMode
impl UnwindSafe for InputModeBlanket Implementations
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>, pub fn into_color(self) -> To
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>,