Enum animate::PanAxis [−][src]
#[non_exhaustive] pub enum PanAxis { AxisNone, XAxis, YAxis, AxisAuto, // some variants omitted }
The axis of the constraint that should be applied on the panning action
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.
No constraint
Set a constraint on the X axis
Set a constraint on the Y axis
Constrain panning automatically based on initial movement (available since 1.24)
Trait Implementations
impl<'a> FromValueOptional<'a> for PanAxis
[src]
impl<'a> FromValueOptional<'a> for PanAxis
[src]unsafe fn from_value_optional(value: &Value) -> Option<Self>
[src]
impl PartialOrd<PanAxis> for PanAxis
[src]
impl PartialOrd<PanAxis> for PanAxis
[src]impl StaticType for PanAxis
[src]
impl StaticType for PanAxis
[src]fn static_type() -> Type
[src]
impl StructuralEq for PanAxis
[src]
impl StructuralEq for PanAxis
[src]impl StructuralPartialEq for PanAxis
[src]
impl StructuralPartialEq for PanAxis
[src]Auto Trait Implementations
impl RefUnwindSafe for PanAxis
impl RefUnwindSafe for PanAxis
impl UnwindSafe for PanAxis
impl UnwindSafe for PanAxis
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>,