pub struct ListTheme {
pub background: Option<Rgba>,
pub foreground: Option<Rgba>,
pub alternate_row: Option<Rgba>,
pub selection: Option<Rgba>,
pub selection_foreground: Option<Rgba>,
pub header_background: Option<Rgba>,
pub header_foreground: Option<Rgba>,
pub grid_color: Option<Rgba>,
pub item_height: Option<f32>,
pub padding_horizontal: Option<f32>,
pub padding_vertical: Option<f32>,
}Expand description
List and table colors and row geometry.
Fields§
§background: Option<Rgba>§foreground: Option<Rgba>§alternate_row: Option<Rgba>§selection: Option<Rgba>§selection_foreground: Option<Rgba>§header_background: Option<Rgba>§header_foreground: Option<Rgba>§grid_color: Option<Rgba>§item_height: Option<f32>§padding_horizontal: Option<f32>§padding_vertical: Option<f32>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ListTheme
impl<'de> Deserialize<'de> for ListTheme
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 ListTheme
Auto Trait Implementations§
impl Freeze for ListTheme
impl RefUnwindSafe for ListTheme
impl Send for ListTheme
impl Sync for ListTheme
impl Unpin for ListTheme
impl UnsafeUnpin for ListTheme
impl UnwindSafe for ListTheme
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