pub struct RadioColors {
pub selected: Option<Hsla>,
pub unselected: Option<Hsla>,
pub disabled_selected: Option<Hsla>,
pub disabled_unselected: Option<Hsla>,
}Expand description
Radio indicator pigments. Omitted values use the current window theme.
Fields§
§selected: Option<Hsla>Ring and inner dot color when enabled and selected.
unselected: Option<Hsla>Ring color when enabled and unselected.
disabled_selected: Option<Hsla>Ring and inner dot color when disabled and selected.
disabled_unselected: Option<Hsla>Ring color when disabled and unselected.
Trait Implementations§
Source§impl Clone for RadioColors
impl Clone for RadioColors
impl Copy for RadioColors
Source§impl Debug for RadioColors
impl Debug for RadioColors
Source§impl Default for RadioColors
impl Default for RadioColors
Source§impl PartialEq for RadioColors
impl PartialEq for RadioColors
impl StructuralPartialEq for RadioColors
Auto Trait Implementations§
impl Forget for RadioColors
impl Freeze for RadioColors
impl Move for RadioColors
impl RefUnwindSafe for RadioColors
impl Send for RadioColors
impl Sync for RadioColors
impl Unpin for RadioColors
impl UnsafeUnpin for RadioColors
impl UnwindSafe for RadioColors
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().