pub enum NavigationDestinationLabelBehavior {
AlwaysShow,
AlwaysHide,
OnlyShowSelected,
}Expand description
Specifies when each NavigationDestination’s label should appear.
This is used to determine the behavior of NavigationBar’s destinations.
Variants§
AlwaysShow
Always shows all of the labels under each navigation bar destination, selected and unselected.
AlwaysHide
Never shows any of the labels under the navigation bar destinations, regardless of selected vs unselected.
OnlyShowSelected
Only shows the labels of the selected navigation bar destination.
When a destination is unselected, the label will be faded out, and the icon will be centered.
When a destination is selected, the label will fade in and the label and icon will slide up so that they are both centered.
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> AnyEq for T
impl<T> AnyEq for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.