Enum components::InputAxis [−][src]
#[non_exhaustive]
pub enum InputAxis {
Ignore,
X,
Y,
Pressure,
Xtilt,
Ytilt,
Wheel,
Distance,
Last,
// some variants omitted
}The type of axes Clutter recognizes on a InputDevice
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.
Unused axis
The position on the X axis
The position of the Y axis
The pressure information
The tilt on the X axis
The tile on the Y axis
A wheel
Distance (Since 1.12)
Last value of the enumeration; this value is useful when iterating over the enumeration values (Since 1.12)
Trait Implementations
impl<'a> FromValueOptional<'a> for InputAxis[src]
impl<'a> FromValueOptional<'a> for InputAxis[src]pub unsafe fn from_value_optional(value: &Value) -> Option<InputAxis>[src]
impl PartialOrd<InputAxis> for InputAxis[src]
impl PartialOrd<InputAxis> for InputAxis[src]pub fn partial_cmp(&self, other: &InputAxis) -> 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 InputAxis[src]
impl StaticType for InputAxis[src]pub fn static_type() -> Type[src]
impl StructuralEq for InputAxis[src]
impl StructuralEq for InputAxis[src]impl StructuralPartialEq for InputAxis[src]
impl StructuralPartialEq for InputAxis[src]Auto Trait Implementations
impl RefUnwindSafe for InputAxis
impl RefUnwindSafe for InputAxisimpl UnwindSafe for InputAxis
impl UnwindSafe for InputAxisBlanket 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>,