pub enum NavigationSuiteType {
NavigationBar,
NavigationRail,
ExtendedNavigationRail,
NavigationDrawer,
None,
}Expand description
What a NavigationSuiteScaffold shows its destinations in.
Variants§
A bottom bar.
A rail with icons and optional labels.
Flutter’s extended rail: icons with labels, 256 wide.
A permanent drawer beside the content.
None
No navigation widget; the app shows its own.
Implementations§
Sourcepub fn from_window_size_class(
size_class: WindowSizeClass,
) -> NavigationSuiteType
pub fn from_window_size_class( size_class: WindowSizeClass, ) -> NavigationSuiteType
A bar when the width or height is Compact; the extended rail from Large; the rail otherwise.
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
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.