FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    EasingPreview

    struct · ferroui-designer · v0.5.0

    struct EasingPreview
    

    A small native graph of the incoming keyframe easing. Hosts can embed it beside their own editor; sampling follows the animation engine, including overshoot.

    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<EasingPreview>
    

    Returns a strong reference to this object.

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    set_easing

    fn set_easing(self: &Self, easing: Option<Easing>)
    

    None represents an invalid draft and clears the curve, without touching the document or silently displaying the previously accepted easing.

    Source

    easing

    fn easing(self: &Self) -> Option<Easing>
    

    Source

    Trait implementations

    Availability

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