DoubleTransition
struct · ferroui-base · v0.5.0
struct DoubleTransition
Transition class that handles properties with f64 types.
A change from or to a value that is not a number (NaN, the automatic size of Width
and Height) is not interpolated: an interpolation with NaN is NaN for the whole
duration, so the new value is taken at once, when the delay has passed.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<DoubleTransition>
Returns a strong reference to this object.
construct
fn construct() -> Self
Creates the class data.
new
fn new() -> $crate::Ref<Self>
with_property
fn with_property(property: &'static $crate::FerroProperty, duration: $crate::animation::SignedDuration) -> $crate::Ref<Self>
Creates a transition of property that takes duration.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeTransitionBaseImplExtFerroObjectImplExtClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyErasedDestructorIntoEitherDerefUpcast<T>Upcast<DoubleTransition>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplTransitionBaseImplTransition<f64>
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.