FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ferro_transition_class

    macro · ferroui-base · v0.5.0

    macro_rules! ferro_transition_class
    

    Declares a transition class for properties of the given value type: the class struct deriving from TransitionBase, its constructors and the override that applies it. The Transition implementation supplies the values.

    ferro_transition_class!(
        /// Transition class that handles properties with `f64` types.
        DoubleTransition: f64
    );
    

    View source

    Availability

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