pub enum TabIndicatorSide {
Top,
Bottom,
}Expand description
Which edge of the active tab its indicator line lies along, for tabs above their pages.
A platform convention, like ArrowSide:
Breeze lays its highlight strip along a North tab’s top edge, libadwaita’s
GtkNotebook and Material’s primary tabs along the bottom one
(docs/platform-facts.md §2.11, active_indicator_side). Tabs below their
pages mirror it on every platform that draws one.
Variants§
Top
Along the tab’s top edge, away from its page – KDE.
Bottom
Along the tab’s bottom edge, next to its page – GNOME, Material.
Trait Implementations§
Source§impl Clone for TabIndicatorSide
impl Clone for TabIndicatorSide
impl Copy for TabIndicatorSide
Source§impl Debug for TabIndicatorSide
impl Debug for TabIndicatorSide
Source§impl<'de> Deserialize<'de> for TabIndicatorSide
impl<'de> Deserialize<'de> for TabIndicatorSide
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TabIndicatorSide
Source§impl Hash for TabIndicatorSide
impl Hash for TabIndicatorSide
Source§impl PartialEq for TabIndicatorSide
impl PartialEq for TabIndicatorSide
Source§impl Serialize for TabIndicatorSide
impl Serialize for TabIndicatorSide
impl StructuralPartialEq for TabIndicatorSide
Auto Trait Implementations§
impl Freeze for TabIndicatorSide
impl RefUnwindSafe for TabIndicatorSide
impl Send for TabIndicatorSide
impl Sync for TabIndicatorSide
impl Unpin for TabIndicatorSide
impl UnsafeUnpin for TabIndicatorSide
impl UnwindSafe for TabIndicatorSide
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