pub struct UiSelection {
pub bg: String,
pub fg: String,
}Expand description
Selection colors (nested under [ui.selection]).
Fields§
§bg: StringSelection background.
fg: StringSelection foreground.
Trait Implementations§
Source§impl Clone for UiSelection
impl Clone for UiSelection
Source§fn clone(&self) -> UiSelection
fn clone(&self) -> UiSelection
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 UiSelection
impl Debug for UiSelection
Source§impl<'de> Deserialize<'de> for UiSelection
impl<'de> Deserialize<'de> for UiSelection
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
Source§impl PartialEq for UiSelection
impl PartialEq for UiSelection
Source§impl Serialize for UiSelection
impl Serialize for UiSelection
impl Eq for UiSelection
impl StructuralPartialEq for UiSelection
Auto Trait Implementations§
impl Freeze for UiSelection
impl RefUnwindSafe for UiSelection
impl Send for UiSelection
impl Sync for UiSelection
impl Unpin for UiSelection
impl UnsafeUnpin for UiSelection
impl UnwindSafe for UiSelection
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