#[repr(C)]pub struct SystemColors {
pub text: OptionColorU,
pub background: OptionColorU,
pub accent: OptionColorU,
pub accent_text: OptionColorU,
pub button_face: OptionColorU,
pub button_text: OptionColorU,
pub window_background: OptionColorU,
pub selection_background: OptionColorU,
pub selection_text: OptionColorU,
}Expand description
Common system colors used for UI elements.
Fields§
§text: OptionColorU§background: OptionColorU§accent: OptionColorU§accent_text: OptionColorU§window_background: OptionColorU§selection_background: OptionColorU§selection_text: OptionColorUTrait Implementations§
Source§impl Clone for SystemColors
impl Clone for SystemColors
Source§fn clone(&self) -> SystemColors
fn clone(&self) -> SystemColors
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 SystemColors
impl Debug for SystemColors
Source§impl Default for SystemColors
impl Default for SystemColors
Source§fn default() -> SystemColors
fn default() -> SystemColors
Returns the “default value” for a type. Read more
Source§impl PartialEq for SystemColors
impl PartialEq for SystemColors
impl StructuralPartialEq for SystemColors
Auto Trait Implementations§
impl Freeze for SystemColors
impl RefUnwindSafe for SystemColors
impl Send for SystemColors
impl Sync for SystemColors
impl Unpin for SystemColors
impl UnwindSafe for SystemColors
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