FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TransitionBaseImpl

    trait · ferroui-base · v0.5.0

    trait TransitionBaseImpl: FerroObjectImpl + $crate::Upcast<TransitionBase>
    

    The overridable members introduced by the class.

    View source

    Members

    apply

    fn apply(this: &Self, control: &Animatable, clock: Rc<dyn IClock>, old_value: &BoxedValue, new_value: &BoxedValue) -> Rc<dyn IDisposable>
    

    Applies the transition to control: animates the transition's property from old_value to new_value.

    Source

    value_type

    fn value_type(this: &Self) -> (TypeId, &'static str)
    

    The type of the values the transition animates, which the value type of its property has to match.

    Source

    Trait implementations

    Availability

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