ChildIndexChangedEventArgs
struct · ferroui-base · v0.5.0
struct ChildIndexChangedEventArgs
Event args for the child index changed notification of a child index provider.
Members
new
fn new(child: Ref<StyledElement>, index: i32) -> Self
Creates the arguments for a change of the index of a single child.
child_indexes_reset
fn child_indexes_reset() -> Self
The arguments for a reset of all child indexes.
total_count_changed
fn total_count_changed() -> Self
The arguments for a change of the total number of children.
action
fn action(self: &Self) -> ChildIndexChangedAction
The type of change that occurred.
child
fn child(self: &Self) -> Option<&Ref<StyledElement>>
The logical child whose index was changed, or None if all children
should be re-evaluated.
index
fn index(self: &Self) -> i32
The new index of the child, or -1 if all children should be re-evaluated.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherClone
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.