Enum components::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]pub unsafe fn from_value_optional(value: &Value) -> Option<PanAxis>[src]
impl PartialOrd<PanAxis> for PanAxis[src]
impl PartialOrd<PanAxis> for PanAxis[src]impl StaticType for PanAxis[src]
impl StaticType for PanAxis[src]pub 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 PanAxisimpl UnwindSafe for PanAxis
impl UnwindSafe for PanAxisBlanket 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>,