#[repr(u8)]pub enum SystemColor {
Accent = 0,
Text = 1,
SecondaryText = 2,
Background = 3,
Surface = 4,
}Expand description
Platform colors for custom drawing. Native controls keep their own semantic styling.
Variants§
Implementations§
Source§impl SystemColor
impl SystemColor
Trait Implementations§
Source§impl Clone for SystemColor
impl Clone for SystemColor
impl Copy for SystemColor
Source§impl Debug for SystemColor
impl Debug for SystemColor
impl Eq for SystemColor
Source§impl PartialEq for SystemColor
impl PartialEq for SystemColor
impl StructuralPartialEq for SystemColor
Auto Trait Implementations§
impl Forget for SystemColor
impl Freeze for SystemColor
impl Move for SystemColor
impl RefUnwindSafe for SystemColor
impl Send for SystemColor
impl Sync for SystemColor
impl Unpin for SystemColor
impl UnsafeUnpin for SystemColor
impl UnwindSafe for SystemColor
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