pub struct SelectListTheme {
pub selected_prefix: Box<dyn Fn(&str) -> String>,
pub selected_text: Box<dyn Fn(&str) -> String>,
pub normal_text: Box<dyn Fn(&str) -> String>,
pub description: Box<dyn Fn(&str) -> String>,
pub scroll_info: Style,
pub no_match: Style,
pub hint: Style,
}Expand description
Theme functions for SelectList styling.
Fields§
§selected_prefix: Box<dyn Fn(&str) -> String>§selected_text: Box<dyn Fn(&str) -> String>§normal_text: Box<dyn Fn(&str) -> String>§description: Box<dyn Fn(&str) -> String>§scroll_info: Style§no_match: Style§hint: StyleTrait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SelectListTheme
impl !Send for SelectListTheme
impl !Sync for SelectListTheme
impl !UnwindSafe for SelectListTheme
impl Freeze for SelectListTheme
impl Unpin for SelectListTheme
impl UnsafeUnpin for SelectListTheme
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