Enum ux::DragAxis [−][src]
#[non_exhaustive] pub enum DragAxis { AxisNone, XAxis, YAxis, // some variants omitted }
The axis of the constraint that should be applied on the dragging 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
Trait Implementations
impl<'a> FromValueOptional<'a> for DragAxis
[src]
impl<'a> FromValueOptional<'a> for DragAxis
[src]pub unsafe fn from_value_optional(value: &Value) -> Option<DragAxis>
[src]
impl PartialOrd<DragAxis> for DragAxis
[src]
impl PartialOrd<DragAxis> for DragAxis
[src]pub fn partial_cmp(&self, other: &DragAxis) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl StaticType for DragAxis
[src]
impl StaticType for DragAxis
[src]pub fn static_type() -> Type
[src]
impl StructuralEq for DragAxis
[src]
impl StructuralEq for DragAxis
[src]impl StructuralPartialEq for DragAxis
[src]
impl StructuralPartialEq for DragAxis
[src]Auto Trait Implementations
impl RefUnwindSafe for DragAxis
impl RefUnwindSafe for DragAxis
impl UnwindSafe for DragAxis
impl UnwindSafe for DragAxis
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>,