pub struct Theme {Show 14 fields
pub question: String,
pub question_style: Style,
pub prompt: Style,
pub pointer: String,
pub pointer_style: Style,
pub focused: Style,
pub matched: Style,
pub checked: String,
pub unchecked: String,
pub checked_style: Style,
pub hint: Style,
pub error: Style,
pub answer: Style,
pub border: Style,
}Expand description
The styles and symbols every component draws with.
Fields§
§question: StringThe mark before a question (?).
question_style: Style§prompt: Style§pointer: StringThe focused row’s pointer (❯).
pointer_style: Style§focused: Style§matched: StyleCharacters a filter matched.
checked: String§unchecked: String§checked_style: Style§hint: StyleHints, counts and descriptions.
error: Style§answer: StyleA finished component’s answer.
border: StyleTrait Implementations§
Auto Trait Implementations§
impl Freeze for Theme
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnsafeUnpin for Theme
impl UnwindSafe for Theme
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