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: Box<dyn Fn(&str) -> String>,
pub no_match: Box<dyn Fn(&str) -> String>,
pub hint: Box<dyn Fn(&str) -> String>,
}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: Box<dyn Fn(&str) -> String>§no_match: Box<dyn Fn(&str) -> String>§hint: Box<dyn Fn(&str) -> String>Trait 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