pub struct PaletteStyle {
pub border: Style,
pub input: Style,
pub item: Style,
pub item_selected: Style,
pub match_highlight: Style,
pub description: Style,
pub category: Style,
pub hint: Style,
}Expand description
Visual styling for the command palette.
Fields§
§border: StyleBorder style.
input: StyleQuery input style.
item: StyleNormal result item style.
item_selected: StyleSelected/highlighted result item style.
match_highlight: StyleMatch highlight style (for matched characters).
description: StyleDescription text style.
category: StyleCategory badge style.
hint: StyleEmpty state / hint text style.
Trait Implementations§
Source§impl Clone for PaletteStyle
impl Clone for PaletteStyle
Source§fn clone(&self) -> PaletteStyle
fn clone(&self) -> PaletteStyle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PaletteStyle
impl Debug for PaletteStyle
Auto Trait Implementations§
impl Freeze for PaletteStyle
impl RefUnwindSafe for PaletteStyle
impl Send for PaletteStyle
impl Sync for PaletteStyle
impl Unpin for PaletteStyle
impl UnwindSafe for PaletteStyle
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