FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TransitionManager

    struct · ferroui-controls-repeater · v0.5.0

    struct TransitionManager
    

    Derives animation triggers from collection and layout changes during the current layout cycle and returns removed elements when their transition ends.

    View source

    Members

    new

    fn new(recycle: Rc<dyn Fn(Ref<Control>) -> ()>) -> Rc<Self>
    

    Source

    on_transition_provider_changed

    fn on_transition_provider_changed(self: &Rc<Self>, provider: Option<Ref<ItemCollectionTransitionProvider>>)
    

    Source

    on_layout_changing

    fn on_layout_changing(self: &Self)
    

    Source

    on_items_source_changed

    fn on_items_source_changed(self: &Self, action: NotifyCollectionChangedAction)
    

    Source

    on_element_prepared

    fn on_element_prepared(self: &Self, element: &Ref<Control>)
    

    Source

    clear_element

    fn clear_element(self: &Self, element: &Ref<Control>) -> bool
    

    Source

    on_element_bounds_changed

    fn on_element_bounds_changed(self: &Self, element: &Ref<Control>, old_bounds: Rect, new_bounds: Rect)
    

    Source

    on_element_clearing

    fn on_element_clearing(self: &Self, element: &Ref<Control>)
    

    Invalidate the removal identity and cancel native animation values before ElementClearing or the old factory can observe and reuse this control.

    Source

    on_owner_arranged

    fn on_owner_arranged(self: &Self)
    

    Source

    Trait implementations

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

    Availability

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