EffectTransition
struct · ferroui-base · v0.5.0
struct EffectTransition
Transition class that handles effect properties.
Blur effects transition to and from blur effects, drop shadows to and from drop shadows, custom effects to and from custom effects of the same type; a missing effect stands for an effect of the other value's kind that has no visible result (for a custom effect, its neutral value, when the type has one).
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<EffectTransition>
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<EffectTransition>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplTransitionBaseImplTransition<Option<Rc<dyn IEffect>>>
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.