pub enum TabIndicatorPosition {
OuterEdge,
InnerEdge,
}Expand description
Which edge of a tab the active-tab highlight indicator hugs.
The position is expressed relative to the content pane, so it stays meaningful in both orientations and under RTL:
Variants§
Trait Implementations§
Source§impl Clone for TabIndicatorPosition
impl Clone for TabIndicatorPosition
Source§fn clone(&self) -> TabIndicatorPosition
fn clone(&self) -> TabIndicatorPosition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TabIndicatorPosition
Source§impl Debug for TabIndicatorPosition
impl Debug for TabIndicatorPosition
Source§impl Default for TabIndicatorPosition
impl Default for TabIndicatorPosition
Source§fn default() -> TabIndicatorPosition
fn default() -> TabIndicatorPosition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TabIndicatorPosition
impl<'de> Deserialize<'de> for TabIndicatorPosition
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 TabIndicatorPosition
Source§impl Hash for TabIndicatorPosition
impl Hash for TabIndicatorPosition
Source§impl PartialEq for TabIndicatorPosition
impl PartialEq for TabIndicatorPosition
Source§impl Serialize for TabIndicatorPosition
impl Serialize for TabIndicatorPosition
impl StructuralPartialEq for TabIndicatorPosition
Auto Trait Implementations§
impl Freeze for TabIndicatorPosition
impl RefUnwindSafe for TabIndicatorPosition
impl Send for TabIndicatorPosition
impl Sync for TabIndicatorPosition
impl Unpin for TabIndicatorPosition
impl UnsafeUnpin for TabIndicatorPosition
impl UnwindSafe for TabIndicatorPosition
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