pub struct HighContrastTheme {
pub bg_color: u32,
pub fg_color: u32,
pub accent_color: u32,
pub border_color: u32,
}Expand description
High contrast colour theme for accessibility.
Fields§
§bg_color: u32Background colour (ARGB8888).
fg_color: u32Foreground / text colour.
accent_color: u32Accent colour (focused items, links).
border_color: u32Border colour.
Implementations§
Trait Implementations§
Source§impl Clone for HighContrastTheme
impl Clone for HighContrastTheme
Source§fn clone(&self) -> HighContrastTheme
fn clone(&self) -> HighContrastTheme
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HighContrastTheme
impl Debug for HighContrastTheme
Source§impl PartialEq for HighContrastTheme
impl PartialEq for HighContrastTheme
impl Copy for HighContrastTheme
impl Eq for HighContrastTheme
impl StructuralPartialEq for HighContrastTheme
Auto Trait Implementations§
impl Freeze for HighContrastTheme
impl RefUnwindSafe for HighContrastTheme
impl Send for HighContrastTheme
impl Sync for HighContrastTheme
impl Unpin for HighContrastTheme
impl UnwindSafe for HighContrastTheme
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)