FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IAnimationSetter

    trait · ferroui-base · v0.5.0

    trait IAnimationSetter: 'static
    

    A setter that can be used in the key frames of an animation.

    View source

    Members

    property

    fn property(self: &Self) -> Option<&'static FerroProperty>
    

    The property the setter targets.

    Source

    set_property

    fn set_property(self: &Self, value: Option<&'static FerroProperty>)
    

    Source

    value

    fn value(self: &Self) -> Option<SetterValue>
    

    The value of the setter: a plain value holding exactly the value type of the property, or a source of such values.

    Source

    set_value

    fn set_value(self: &Self, value: Option<SetterValue>)
    

    Source

    as_any

    fn as_any(self: &Self) -> Option<&dyn std::any::Any>
    

    The implementing value, for casting to its concrete type (as_any()?.downcast_ref::<T>()): the equivalent of is/as on the contract. None for an implementation that does not expose itself.

    Source

    Trait implementations

    Availability

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