Enum animate::UnitType [−][src]
#[non_exhaustive] pub enum UnitType { Pixel, Em, Mm, Point, Cm, // some variants omitted }
The type of unit in which a value is expressed
This enumeration might be expanded at later date
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.
Unit expressed in pixels (with subpixel precision)
Unit expressed in em
Unit expressed in millimeters
Unit expressed in points
Unit expressed in centimeters
Trait Implementations
impl<'a> FromValueOptional<'a> for UnitType
[src]
impl<'a> FromValueOptional<'a> for UnitType
[src]unsafe fn from_value_optional(value: &Value) -> Option<Self>
[src]
impl PartialOrd<UnitType> for UnitType
[src]
impl PartialOrd<UnitType> for UnitType
[src]impl StaticType for UnitType
[src]
impl StaticType for UnitType
[src]fn static_type() -> Type
[src]
impl StructuralEq for UnitType
[src]
impl StructuralEq for UnitType
[src]impl StructuralPartialEq for UnitType
[src]
impl StructuralPartialEq for UnitType
[src]Auto Trait Implementations
impl RefUnwindSafe for UnitType
impl RefUnwindSafe for UnitType
impl UnwindSafe for UnitType
impl UnwindSafe for UnitType
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>,