pub enum BottomNavigationBarLandscapeLayout {
Spread,
Centered,
Linear,
}Expand description
Refines the layout of a BottomNavigationBar when the enclosing
MediaQueryData::orientation is Orientation::Landscape.
Variants§
Spread
If the enclosing MediaQueryData::orientation is
Orientation::Landscape then the navigation bar’s items are
evenly spaced and spread out across the available width. Each
item’s label and icon are arranged in a column.
Centered
If the enclosing MediaQueryData::orientation is
Orientation::Landscape then the navigation bar’s items are
evenly spaced in a row but only consume as much width as they
would in portrait orientation. The row of items is centered within
the available width. Each item’s label and icon are arranged
in a column.
Linear
If the enclosing MediaQueryData::orientation is
Orientation::Landscape then the navigation bar’s items are
evenly spaced and each item’s icon and label are lined up in a
row instead of a column.
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
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
key and return true if they are equal.