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.
Members
newon_transition_provider_changedon_layout_changingon_items_source_changedon_element_preparedclear_elementon_element_bounds_changedon_element_clearingon_owner_arranged
new
fn new(recycle: Rc<dyn Fn(Ref<Control>) -> ()>) -> Rc<Self>
on_transition_provider_changed
fn on_transition_provider_changed(self: &Rc<Self>, provider: Option<Ref<ItemCollectionTransitionProvider>>)
on_layout_changing
fn on_layout_changing(self: &Self)
on_items_source_changed
fn on_items_source_changed(self: &Self, action: NotifyCollectionChangedAction)
on_element_prepared
fn on_element_prepared(self: &Self, element: &Ref<Control>)
clear_element
fn clear_element(self: &Self, element: &Ref<Control>) -> bool
on_element_bounds_changed
fn on_element_bounds_changed(self: &Self, element: &Ref<Control>, old_bounds: Rect, new_bounds: Rect)
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.
on_owner_arranged
fn on_owner_arranged(self: &Self)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEither
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.