pub struct TabTheme {
pub background: Option<Rgba>,
pub foreground: Option<Rgba>,
pub active_background: Option<Rgba>,
pub active_foreground: Option<Rgba>,
pub bar_background: Option<Rgba>,
pub min_width: Option<f32>,
pub min_height: Option<f32>,
pub padding_horizontal: Option<f32>,
pub padding_vertical: Option<f32>,
}Expand description
Tab bar colors and sizing.
Fields§
§background: Option<Rgba>§foreground: Option<Rgba>§active_background: Option<Rgba>§active_foreground: Option<Rgba>§bar_background: Option<Rgba>§min_width: Option<f32>§min_height: Option<f32>§padding_horizontal: Option<f32>§padding_vertical: Option<f32>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TabTheme
impl<'de> Deserialize<'de> for TabTheme
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 StructuralPartialEq for TabTheme
Auto Trait Implementations§
impl Freeze for TabTheme
impl RefUnwindSafe for TabTheme
impl Send for TabTheme
impl Sync for TabTheme
impl Unpin for TabTheme
impl UnsafeUnpin for TabTheme
impl UnwindSafe for TabTheme
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