FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ImplicitAnimationCollection

    struct · ferroui-base · v0.5.0

    struct ImplicitAnimationCollection
    

    A collection of animations triggered when a condition is met.

    Implicit animations let you drive animations by specifying trigger conditions rather than requiring the manual definition of animation behavior. They help decouple animation start logic from core app logic. You define animations and the events that should trigger these animations. Currently the only available trigger is animated property change.

    When expression is used in ImplicitAnimationCollection a special keyword this.FinalValue will represent the final value of the animated property that was changed

    Upstream the class is an IDictionary<string, ICompositionAnimationBase>; here the dictionary members are methods of the class. Entries are kept in insertion order, which is the enumeration order of a dictionary that has not had entries removed.

    View source

    Members

    clear

    fn clear(self: &Self)
    

    Source

    count

    fn count(self: &Self) -> usize
    

    Source

    is_read_only

    fn is_read_only(self: &Self) -> bool
    

    ICollection<KeyValuePair<..>>.IsReadOnly.

    Source

    contains_key

    fn contains_key(self: &Self, key: &str) -> bool
    

    Source

    remove

    fn remove(self: &Self, key: &str) -> bool
    

    Source

    keys

    fn keys(self: &Self) -> Vec<String>
    

    Source

    size

    fn size(self: &Self) -> u32
    

    Source

    has_key

    fn has_key(self: &Self, key: &str) -> bool
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ErasedDestructor
    • IntoEither
    • AsCompositionObject

    Availability

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