FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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).

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<EffectTransition>
    

    Returns a strong reference to this object.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data.

    Source

    new

    fn new() -> $crate::Ref<Self>
    

    Source

    with_property

    fn with_property(property: &'static $crate::FerroProperty, duration: $crate::animation::SignedDuration) -> $crate::Ref<Self>
    

    Creates a transition of property that takes duration.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.