Enum animate::AlignAxis [−][src]
#[non_exhaustive] pub enum AlignAxis { XAxis, YAxis, Both, // some variants omitted }
Specifies the axis on which AlignConstraint
should maintain
the alignment.
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.
Maintain the alignment on the X axis
Maintain the alignment on the Y axis
Maintain the alignment on both the X and Y axis
Trait Implementations
impl<'a> FromValueOptional<'a> for AlignAxis
[src]
impl<'a> FromValueOptional<'a> for AlignAxis
[src]unsafe fn from_value_optional(value: &Value) -> Option<Self>
[src]
impl PartialOrd<AlignAxis> for AlignAxis
[src]
impl PartialOrd<AlignAxis> for AlignAxis
[src]impl StaticType for AlignAxis
[src]
impl StaticType for AlignAxis
[src]fn static_type() -> Type
[src]
impl StructuralEq for AlignAxis
[src]
impl StructuralEq for AlignAxis
[src]impl StructuralPartialEq for AlignAxis
[src]
impl StructuralPartialEq for AlignAxis
[src]Auto Trait Implementations
impl RefUnwindSafe for AlignAxis
impl RefUnwindSafe for AlignAxis
impl UnwindSafe for AlignAxis
impl UnwindSafe for AlignAxis
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>,