FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PipsPagerSelectedIndexChangedEventArgs

    struct · ferroui-controls · v0.5.0

    struct PipsPagerSelectedIndexChangedEventArgs
    

    Provides data for the PipsPager::selected_index_changed event.

    View source

    Members

    new

    fn new(old_index: i32, new_index: i32) -> Self
    

    Creates the args of a change of the selected index from old_index to new_index.

    Source

    old_index

    fn old_index(self: &Self) -> i32
    

    Gets the previous selected index.

    Source

    new_index

    fn new_index(self: &Self) -> i32
    

    Gets the new selected index.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Receiver
    • Any
    • ToOwned
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Default
    • Deref
    • IRoutedEventArgs

    Availability

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