pub struct CheckboxColors {
pub unchecked: CheckboxStateColors,
pub checked: CheckboxStateColors,
pub indeterminate: CheckboxStateColors,
pub error_unchecked: CheckboxStateColors,
pub error_checked: CheckboxStateColors,
pub error_indeterminate: CheckboxStateColors,
pub disabled_unchecked: CheckboxStateColors,
pub disabled_checked: CheckboxStateColors,
pub disabled_indeterminate: CheckboxStateColors,
}Expand description
Per-instance checkbox colors. Disabled entries take precedence over error entries.
Fields§
§unchecked: CheckboxStateColorsColors when enabled and unchecked.
checked: CheckboxStateColorsColors when enabled and checked.
indeterminate: CheckboxStateColorsColors when enabled and indeterminate (mixed).
error_unchecked: CheckboxStateColorsColors when enabled, in error state, and unchecked.
error_checked: CheckboxStateColorsColors when enabled, in error state, and checked.
error_indeterminate: CheckboxStateColorsColors when enabled, in error state, and indeterminate.
disabled_unchecked: CheckboxStateColorsColors when disabled and unchecked.
disabled_checked: CheckboxStateColorsColors when disabled and checked.
disabled_indeterminate: CheckboxStateColorsColors when disabled and indeterminate.
Trait Implementations§
Source§impl Clone for CheckboxColors
impl Clone for CheckboxColors
Source§fn clone(&self) -> CheckboxColors
fn clone(&self) -> CheckboxColors
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CheckboxColors
Source§impl Debug for CheckboxColors
impl Debug for CheckboxColors
Source§impl Default for CheckboxColors
impl Default for CheckboxColors
Source§fn default() -> CheckboxColors
fn default() -> CheckboxColors
Returns the “default value” for a type. Read more
Source§impl PartialEq for CheckboxColors
impl PartialEq for CheckboxColors
impl StructuralPartialEq for CheckboxColors
Auto Trait Implementations§
impl Forget for CheckboxColors
impl Freeze for CheckboxColors
impl Move for CheckboxColors
impl RefUnwindSafe for CheckboxColors
impl Send for CheckboxColors
impl Sync for CheckboxColors
impl Unpin for CheckboxColors
impl UnsafeUnpin for CheckboxColors
impl UnwindSafe for CheckboxColors
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().