Enum animate::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]unsafe fn from_value_optional(value: &Value) -> Option<Self>
[src]
impl PartialOrd<InputAxis> for InputAxis
[src]
impl PartialOrd<InputAxis> for InputAxis
[src]impl StaticType for InputAxis
[src]
impl StaticType for InputAxis
[src]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 InputAxis
impl UnwindSafe for InputAxis
impl UnwindSafe for InputAxis
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>,