pub struct Ui {
pub bg: UiBg,
pub fg: UiFg,
pub border: UiBorder,
pub cursor: UiCursor,
pub selection: UiSelection,
}Expand description
UI element colors (TOML section [ui] with nested sub-tables).
Fields§
§bg: UiBgBackground colors ([ui.bg]).
fg: UiFgForeground / text colors ([ui.fg]).
border: UiBorderBorder colors ([ui.border]).
cursor: UiCursorCursor colors ([ui.cursor]).
selection: UiSelectionSelection colors ([ui.selection]).
Trait Implementations§
impl Eq for Ui
impl StructuralPartialEq for Ui
Auto Trait Implementations§
impl Freeze for Ui
impl RefUnwindSafe for Ui
impl Send for Ui
impl Sync for Ui
impl Unpin for Ui
impl UnsafeUnpin for Ui
impl UnwindSafe for Ui
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.