FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    SelectionChangedEventArgs

    struct · ferroui-controls · v0.5.0

    struct SelectionChangedEventArgs
    

    Provides data for the SelectionChanged event.

    View source

    Members

    new

    fn new<T: ?Sized>(routed_event: Option<&RoutedEvent<T>>, removed_items: Vec<Option<BoxedValue>>, added_items: Vec<Option<BoxedValue>>) -> Self
    

    Initializes a new instance of the SelectionChangedEventArgs class.

    routed_event is the event being raised, removed_items the items removed from the selection and added_items the items added to the selection.

    Source

    added_items

    fn added_items(self: &Self) -> &[Option<BoxedValue>]
    

    Gets the items that were added to the selection.

    Source

    removed_items

    fn removed_items(self: &Self) -> &[Option<BoxedValue>]
    

    Gets the items that were removed from the selection.

    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
    • MarkupTyped
    • Clone
    • Default
    • Deref
    • IRoutedEventArgs

    Availability

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