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§
Source§impl<'de> Deserialize<'de> for Ui
impl<'de> Deserialize<'de> for Ui
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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