pub struct TabBarColorsConfig {Show 19 fields
pub tab_bar_background: [u8; 3],
pub tab_active_background: [u8; 3],
pub tab_inactive_background: [u8; 3],
pub tab_hover_background: [u8; 3],
pub tab_active_text: [u8; 3],
pub tab_inactive_text: [u8; 3],
pub tab_active_indicator: [u8; 3],
pub tab_activity_indicator: [u8; 3],
pub tab_bell_indicator: [u8; 3],
pub tab_close_button: [u8; 3],
pub tab_close_button_hover: [u8; 3],
pub dim_inactive_tabs: bool,
pub inactive_tab_opacity: f32,
pub tab_min_width: f32,
pub tab_stretch_to_fill: bool,
pub tab_html_titles: bool,
pub tab_border_color: [u8; 3],
pub tab_border_width: f32,
pub tab_inactive_outline_only: bool,
}Expand description
Tab bar palette, dimming, sizing and border appearance.
Fields§
§tab_bar_background: [u8; 3]Tab bar background color [R, G, B] (0-255)
tab_active_background: [u8; 3]Active tab background color [R, G, B] (0-255)
tab_inactive_background: [u8; 3]Inactive tab background color [R, G, B] (0-255)
tab_hover_background: [u8; 3]Hovered tab background color [R, G, B] (0-255)
tab_active_text: [u8; 3]Active tab text color [R, G, B] (0-255)
tab_inactive_text: [u8; 3]Inactive tab text color [R, G, B] (0-255)
tab_active_indicator: [u8; 3]Active tab indicator/underline color [R, G, B] (0-255)
tab_activity_indicator: [u8; 3]Activity indicator dot color [R, G, B] (0-255)
tab_bell_indicator: [u8; 3]Bell indicator color [R, G, B] (0-255)
Close button color [R, G, B] (0-255)
Close button hover color [R, G, B] (0-255)
dim_inactive_tabs: boolEnable visual dimming of inactive tabs When true, inactive tabs are rendered with reduced opacity
inactive_tab_opacity: f32Opacity level for inactive tabs (0.0-1.0) Only used when dim_inactive_tabs is true Lower values make inactive tabs more transparent/dimmed
tab_min_width: f32Minimum tab width in pixels before horizontal scrolling is enabled When tabs cannot fit at this width, scroll buttons appear
tab_stretch_to_fill: boolStretch tabs to fill the available tab bar width evenly (iTerm2 style) When false, tabs keep their minimum width and excess space is left unused
tab_html_titles: boolRender tab titles as limited HTML (bold/italic/underline/color spans) When false, titles are rendered as plain text
tab_border_color: [u8; 3]Tab border color [R, G, B] (0-255) A thin border around each tab to help distinguish them
tab_border_width: f32Tab border width in pixels (0 = no border)
tab_inactive_outline_only: boolRender inactive tabs as outline only (no fill) When true, inactive tabs show only a border stroke with no background fill. Hovered inactive tabs brighten the outline instead of filling.
Trait Implementations§
Source§impl Clone for TabBarColorsConfig
impl Clone for TabBarColorsConfig
Source§fn clone(&self) -> TabBarColorsConfig
fn clone(&self) -> TabBarColorsConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TabBarColorsConfig
impl Debug for TabBarColorsConfig
Source§impl Default for TabBarColorsConfig
impl Default for TabBarColorsConfig
Source§fn default() -> TabBarColorsConfig
fn default() -> TabBarColorsConfig
Source§impl<'de> Deserialize<'de> for TabBarColorsConfig
impl<'de> Deserialize<'de> for TabBarColorsConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TabBarColorsConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TabBarColorsConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for TabBarColorsConfig
impl Serialize for TabBarColorsConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Auto Trait Implementations§
impl Freeze for TabBarColorsConfig
impl RefUnwindSafe for TabBarColorsConfig
impl Send for TabBarColorsConfig
impl Sync for TabBarColorsConfig
impl Unpin for TabBarColorsConfig
impl UnsafeUnpin for TabBarColorsConfig
impl UnwindSafe for TabBarColorsConfig
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
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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 moreSource§impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
fn into_sample(self) -> T
Source§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
ReadEndian::read_from_little_endian().