pub struct DefaultItemStyles {
pub normal_title: Style,
pub normal_desc: Style,
pub selected_title: Style,
pub selected_desc: Style,
pub dimmed_title: Style,
pub dimmed_desc: Style,
pub filter_match: Style,
}Expand description
DefaultItemStyles defines styling for a default list item.
See DefaultItemView for when these come into play.
Fields§
§normal_title: StyleThe Normal state.
normal_desc: StyleThe Normal state.
selected_title: StyleThe selected item state.
selected_desc: StyleThe selected item state.
dimmed_title: StyleThe dimmed state, for when the filter input is initially activated.
dimmed_desc: StyleThe dimmed state, for when the filter input is initially activated.
filter_match: StyleCharacters matching the current filter, if any.
Trait Implementations§
Source§impl Clone for DefaultItemStyles
impl Clone for DefaultItemStyles
Source§fn clone(&self) -> DefaultItemStyles
fn clone(&self) -> DefaultItemStyles
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DefaultItemStyles
impl RefUnwindSafe for DefaultItemStyles
impl Send for DefaultItemStyles
impl Sync for DefaultItemStyles
impl Unpin for DefaultItemStyles
impl UnsafeUnpin for DefaultItemStyles
impl UnwindSafe for DefaultItemStyles
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