ContainerIndexChangedEventArgs
struct · ferroui-controls · v0.5.0
struct ContainerIndexChangedEventArgs
Provides data for the ItemsControl::container_index_changed event.
The args are immutable: copies compare equal when they describe the same container (and indexes).
Members
new
fn new(container: Ref<Control>, old_index: i32, new_index: i32) -> Self
Initializes a new instance of the ContainerIndexChangedEventArgs class.
container
fn container(self: &Self) -> &Ref<Control>
Get the container for which the index changed.
new_index
fn new_index(self: &Self) -> i32
Gets the index of the container after the change.
old_index
fn old_index(self: &Self) -> i32
Gets the index of the container before the change.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneStructuralPartialEqPartialEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.