pub struct Colors {Show 22 fields
pub canvas: Hsla,
pub sunken: Hsla,
pub panel: Hsla,
pub raised: Hsla,
pub overlay: Hsla,
pub text: Hsla,
pub text_muted: Hsla,
pub text_faint: Hsla,
pub text_on_accent: Hsla,
pub hover: Hsla,
pub active: Hsla,
pub selected: Hsla,
pub hairline: Hsla,
pub hairline_strong: Hsla,
pub focus: Hsla,
pub accent: Hsla,
pub accent_strong: Hsla,
pub danger: Hsla,
pub warning: Hsla,
pub success: Hsla,
pub info: Hsla,
pub loader_gradient: [Hsla; 3],
}Fields§
§canvas: Hsla§sunken: Hsla§panel: Hsla§raised: Hsla§overlay: Hsla§text: Hsla§text_muted: Hsla§text_faint: Hsla§text_on_accent: Hsla§hover: Hsla§active: Hsla§selected: Hsla§hairline: Hsla§hairline_strong: Hsla§focus: Hsla§accent: Hsla§accent_strong: Hsla§danger: Hsla§warning: Hsla§success: Hsla§info: Hsla§loader_gradient: [Hsla; 3]Trait Implementations§
Auto Trait Implementations§
impl Freeze for Colors
impl RefUnwindSafe for Colors
impl Send for Colors
impl Sync for Colors
impl Unpin for Colors
impl UnsafeUnpin for Colors
impl UnwindSafe for Colors
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more