#[non_exhaustive]pub struct ResolvedListTheme {Show 13 fields
pub background_color: Rgba,
pub alternate_row_background: Rgba,
pub selection_background: Rgba,
pub selection_text_color: Rgba,
pub header_background: Rgba,
pub grid_color: Rgba,
pub row_height: f32,
pub hover_background: Rgba,
pub hover_text_color: Rgba,
pub disabled_text_color: Rgba,
pub item_font: ResolvedFontSpec,
pub header_font: ResolvedFontSpec,
pub border: ResolvedBorderSpec,
}Expand description
List and table colors and row geometry.
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: RgbaList background fill.
alternate_row_background: RgbaAlternate row background for striped lists.
selection_background: RgbaSelected row highlight color.
selection_text_color: RgbaText color inside a selected row.
header_background: RgbaColumn header background fill.
grid_color: RgbaGrid line color between rows/columns.
row_height: f32Row height in logical pixels.
hover_background: RgbaHovered row background color.
hover_text_color: RgbaHovered row text color.
disabled_text_color: RgbaDisabled row text color.
item_font: ResolvedFontSpecList item font specification.
header_font: ResolvedFontSpecColumn header font specification.
border: ResolvedBorderSpecList border specification.
Trait Implementations§
Source§impl Clone for ResolvedListTheme
impl Clone for ResolvedListTheme
Source§fn clone(&self) -> ResolvedListTheme
fn clone(&self) -> ResolvedListTheme
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 ResolvedListTheme
impl Debug for ResolvedListTheme
Source§impl<'de> Deserialize<'de> for ResolvedListTheme
impl<'de> Deserialize<'de> for ResolvedListTheme
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 ResolvedListTheme
impl PartialEq for ResolvedListTheme
Source§impl Serialize for ResolvedListTheme
impl Serialize for ResolvedListTheme
impl StructuralPartialEq for ResolvedListTheme
Auto Trait Implementations§
impl Freeze for ResolvedListTheme
impl RefUnwindSafe for ResolvedListTheme
impl Send for ResolvedListTheme
impl Sync for ResolvedListTheme
impl Unpin for ResolvedListTheme
impl UnsafeUnpin for ResolvedListTheme
impl UnwindSafe for ResolvedListTheme
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