FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ItemCollectionTransition

    struct · ferroui-controls-repeater · v0.5.0

    struct ItemCollectionTransition
    

    One addition, removal, or bounds change submitted to a transition provider.

    View source

    Members

    new

    fn new(provider: Ref<ItemCollectionTransitionProvider>, element: Ref<Control>, operation: ItemCollectionTransitionOperation, triggers: ItemCollectionTransitionTriggers) -> Rc<Self>
    

    Source

    with_bounds

    fn with_bounds(provider: Ref<ItemCollectionTransitionProvider>, element: Ref<Control>, triggers: ItemCollectionTransitionTriggers, old_bounds: Rect, new_bounds: Rect) -> Rc<Self>
    

    Source

    owning_provider

    fn owning_provider(self: &Self) -> Option<Ref<ItemCollectionTransitionProvider>>
    

    Source

    element

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

    Source

    operation

    fn operation(self: &Self) -> ItemCollectionTransitionOperation
    

    Source

    triggers

    fn triggers(self: &Self) -> ItemCollectionTransitionTriggers
    

    Source

    old_bounds

    fn old_bounds(self: &Self) -> Rect
    

    Source

    new_bounds

    fn new_bounds(self: &Self) -> Rect
    

    Source

    has_started

    fn has_started(self: &Self) -> bool
    

    Source

    start

    fn start(self: &Rc<Self>) -> Rc<ItemCollectionTransitionProgress>
    

    Source

    Trait implementations

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

    Availability

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