ContainerPreparedEventArgs
struct · ferroui-controls · v0.5.0
struct ContainerPreparedEventArgs
Provides data for the ItemsControl::container_prepared event.
The args are immutable: copies compare equal when they describe the same container (and indexes).
Members
new
fn new(container: Ref<Control>, index: i32) -> Self
Initializes a new instance of the ContainerPreparedEventArgs class.
container
fn container(self: &Self) -> &Ref<Control>
Gets the prepared container.
index
fn index(self: &Self) -> i32
Gets the index of the item the container was prepared for.
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.