Enum ux::ZoomAxis [−][src]
#[non_exhaustive] pub enum ZoomAxis { XAxis, YAxis, Both, // some variants omitted }
The axis of the constraint that should be applied by the zooming 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.
Scale only on the X axis
Scale only on the Y axis
Scale on both axis
Trait Implementations
impl<'a> FromValueOptional<'a> for ZoomAxis
[src]
impl<'a> FromValueOptional<'a> for ZoomAxis
[src]pub unsafe fn from_value_optional(value: &Value) -> Option<ZoomAxis>
[src]
impl PartialOrd<ZoomAxis> for ZoomAxis
[src]
impl PartialOrd<ZoomAxis> for ZoomAxis
[src]pub fn partial_cmp(&self, other: &ZoomAxis) -> 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 ZoomAxis
[src]
impl StaticType for ZoomAxis
[src]pub fn static_type() -> Type
[src]
impl StructuralEq for ZoomAxis
[src]
impl StructuralEq for ZoomAxis
[src]impl StructuralPartialEq for ZoomAxis
[src]
impl StructuralPartialEq for ZoomAxis
[src]Auto Trait Implementations
impl RefUnwindSafe for ZoomAxis
impl RefUnwindSafe for ZoomAxis
impl UnwindSafe for ZoomAxis
impl UnwindSafe for ZoomAxis
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>,