pub enum CollapsedMarker {
Icon,
Initial,
Number,
}Expand description
What the one-cell marker of a tab in a collapsed TabRail shows.
Set it for the whole rail with TabRail::collapsed_marker and for one tab with
RailTab::marker, so users can pick a marker per tab as in the activity bar of an editor.
The expanded rail is not affected.
Variants§
Icon
The tab’s icon, or its initial when it has none. The default.
Initial
The first character of the name, upper case when the character has a single upper case form.
Number
The tab’s position counted from 1. Positions past 9 do not fit one cell and show …,
rather than a digit that would name another tab.
Trait Implementations§
Source§impl Clone for CollapsedMarker
impl Clone for CollapsedMarker
Source§fn clone(&self) -> CollapsedMarker
fn clone(&self) -> CollapsedMarker
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 CollapsedMarker
Source§impl Debug for CollapsedMarker
impl Debug for CollapsedMarker
Source§impl Default for CollapsedMarker
impl Default for CollapsedMarker
Source§fn default() -> CollapsedMarker
fn default() -> CollapsedMarker
Returns the “default value” for a type. Read more
impl Eq for CollapsedMarker
Source§impl PartialEq for CollapsedMarker
impl PartialEq for CollapsedMarker
impl StructuralPartialEq for CollapsedMarker
Auto Trait Implementations§
impl Freeze for CollapsedMarker
impl RefUnwindSafe for CollapsedMarker
impl Send for CollapsedMarker
impl Sync for CollapsedMarker
impl Unpin for CollapsedMarker
impl UnsafeUnpin for CollapsedMarker
impl UnwindSafe for CollapsedMarker
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
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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more