pub struct Palette {
pub bg: u32,
pub fg: u32,
pub accent: u32,
pub border: u32,
pub dropdown_bg: u32,
pub dropdown_selected_bg: u32,
pub dropdown_kind_history: u32,
pub dropdown_kind_bookmark: u32,
pub dropdown_kind_command: u32,
pub dropdown_kind_search: u32,
}Expand description
Colour palette for the input bar. Mirrors the statusline palette shape so a future theme system can wire both at once.
Fields§
§bg: u32§fg: u32§accent: u32§border: u32§dropdown_bg: u32§dropdown_selected_bg: u32§dropdown_kind_history: u32§dropdown_kind_bookmark: u32§dropdown_kind_command: u32§dropdown_kind_search: u32Trait Implementations§
impl Copy for Palette
Auto Trait Implementations§
impl Freeze for Palette
impl RefUnwindSafe for Palette
impl Send for Palette
impl Sync for Palette
impl Unpin for Palette
impl UnsafeUnpin for Palette
impl UnwindSafe for Palette
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more