FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Easing

    enum · ferroui-designer-animation · v0.5.0

    enum Easing
    

    Cubic Bezier easings invert the X polynomial; evaluating Y at progress directly is incorrect. Named curves are FerroUI's animation-wide easing names. Per-keyframe easing must be Linear or CubicBezier to serialize as a native KeySpline without changing semantics.

    View source

    Members

    Linear

    Linear
    

    Source

    CubicBezier

    CubicBezier { x1: f64, y1: f64, x2: f64, y2: f64 }
    

    Source

    Spring

    Spring { mass: f64, stiffness: f64, damping: f64, initial_velocity: f64 }
    

    Source

    Named

    Named(String)
    

    Source

    validate

    fn validate(self: &Self) -> Result<()>
    

    Source

    sample

    fn sample(self: &Self, progress: f64) -> Result<f64>
    

    Source

    parse

    fn parse(source: &str) -> Result<Self>
    

    Source

    to_xaml

    fn to_xaml(self: &Self) -> String
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • DeserializeOwned
    • Clone
    • Debug
    • Default
    • StructuralPartialEq
    • PartialEq
    • Serialize
    • Deserialize<'de>

    Availability

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