pub struct NavigationViewSelectionChangedEventArgs {
pub item: Option<NavigationViewItem>,
pub index_path: Vec<usize>,
pub is_settings: bool,
pub recommended_transition_direction: NavigationRecommendedTransitionDirection,
}Expand description
Describes selection, including clearing selection when the selected item is removed.
Fields§
§item: Option<NavigationViewItem>Selected source item, or None when the selection is cleared.
index_path: Vec<usize>Main/footer block and child indices, empty when selection is cleared.
is_settings: boolWhether the built-in settings item is selected.
recommended_transition_direction: NavigationRecommendedTransitionDirectionThe suggested transition for the owner’s page navigation.
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more