#[non_exhaustive]pub struct ResolvedSidebarTheme {
pub background_color: Rgba,
pub selection_background: Rgba,
pub selection_text_color: Rgba,
pub hover_background: Rgba,
pub font: ResolvedFontSpec,
pub border: ResolvedBorderSpec,
}Expand description
Sidebar panel background, selection, and hover colors.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.background_color: RgbaSidebar panel background fill.
selection_background: RgbaSelected item background color.
selection_text_color: RgbaSelected item text color.
hover_background: RgbaHovered item background color.
font: ResolvedFontSpecSidebar font specification.
border: ResolvedBorderSpecSidebar border specification.
Trait Implementations§
Source§impl Clone for ResolvedSidebarTheme
impl Clone for ResolvedSidebarTheme
Source§fn clone(&self) -> ResolvedSidebarTheme
fn clone(&self) -> ResolvedSidebarTheme
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResolvedSidebarTheme
impl Debug for ResolvedSidebarTheme
Source§impl<'de> Deserialize<'de> for ResolvedSidebarTheme
impl<'de> Deserialize<'de> for ResolvedSidebarTheme
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
Source§impl PartialEq for ResolvedSidebarTheme
impl PartialEq for ResolvedSidebarTheme
Source§impl Serialize for ResolvedSidebarTheme
impl Serialize for ResolvedSidebarTheme
impl StructuralPartialEq for ResolvedSidebarTheme
Auto Trait Implementations§
impl Freeze for ResolvedSidebarTheme
impl RefUnwindSafe for ResolvedSidebarTheme
impl Send for ResolvedSidebarTheme
impl Sync for ResolvedSidebarTheme
impl Unpin for ResolvedSidebarTheme
impl UnsafeUnpin for ResolvedSidebarTheme
impl UnwindSafe for ResolvedSidebarTheme
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