pub struct AccentColorShades {
pub dark1: Color,
pub dark2: Color,
pub dark3: Color,
pub light1: Color,
pub light2: Color,
pub light3: Color,
}Expand description
The six shades of the accent color that a system computes from it: three
darker and three lighter ones, as Windows reports them
(UIColorType::AccentDark3 to AccentLight3 of UISettings).
A FerroUI addition: platforms that compute no shades report none, and a theme computes its own from the accent color.
Fields§
§dark1: ColorThe first darker shade.
dark2: ColorThe second darker shade.
dark3: ColorThe darkest shade.
light1: ColorThe first lighter shade.
light2: ColorThe second lighter shade.
light3: ColorThe lightest shade.
Trait Implementations§
Source§impl Clone for AccentColorShades
impl Clone for AccentColorShades
impl Copy for AccentColorShades
Source§impl Debug for AccentColorShades
impl Debug for AccentColorShades
impl Eq for AccentColorShades
Source§impl Hash for AccentColorShades
impl Hash for AccentColorShades
Source§impl PartialEq for AccentColorShades
impl PartialEq for AccentColorShades
impl StructuralPartialEq for AccentColorShades
Auto Trait Implementations§
impl Freeze for AccentColorShades
impl RefUnwindSafe for AccentColorShades
impl Send for AccentColorShades
impl Sync for AccentColorShades
impl Unpin for AccentColorShades
impl UnsafeUnpin for AccentColorShades
impl UnwindSafe for AccentColorShades
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more