Trait AccentRole

Source
pub trait AccentRole: ColorRole { }
Expand description

Marker trait for accent colors.

Accent colors are used for:

  • Focus indicators
  • Active states
  • Links
  • Highlighted elements

§Implementors

  • Accent — The primary accent color

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§