pub struct SidebarTheme {
pub background: Option<Rgba>,
pub foreground: Option<Rgba>,
}Expand description
Sidebar panel background and foreground colors.
Fields§
§background: Option<Rgba>Sidebar panel background fill.
foreground: Option<Rgba>Sidebar text color.
Implementations§
Source§impl SidebarTheme
impl SidebarTheme
Sourcepub const FIELD_NAMES: &[&str]
pub const FIELD_NAMES: &[&str]
All serialized field names for this widget theme, for TOML linting.
Source§impl SidebarTheme
impl SidebarTheme
Trait Implementations§
Source§impl Clone for SidebarTheme
impl Clone for SidebarTheme
Source§fn clone(&self) -> SidebarTheme
fn clone(&self) -> SidebarTheme
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 SidebarTheme
impl Debug for SidebarTheme
Source§impl Default for SidebarTheme
impl Default for SidebarTheme
Source§fn default() -> SidebarTheme
fn default() -> SidebarTheme
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SidebarThemewhere
SidebarTheme: Default,
impl<'de> Deserialize<'de> for SidebarThemewhere
SidebarTheme: Default,
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 SidebarTheme
impl PartialEq for SidebarTheme
Source§impl Serialize for SidebarTheme
impl Serialize for SidebarTheme
impl StructuralPartialEq for SidebarTheme
Auto Trait Implementations§
impl Freeze for SidebarTheme
impl RefUnwindSafe for SidebarTheme
impl Send for SidebarTheme
impl Sync for SidebarTheme
impl Unpin for SidebarTheme
impl UnsafeUnpin for SidebarTheme
impl UnwindSafe for SidebarTheme
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