pub struct SegmentedButtonColors {
pub active_container_color: Color,
pub active_content_color: Color,
pub active_border_color: Color,
pub inactive_container_color: Color,
pub inactive_content_color: Color,
pub inactive_border_color: Color,
pub disabled_active_container_color: Color,
pub disabled_active_content_color: Color,
pub disabled_active_border_color: Color,
pub disabled_inactive_container_color: Color,
pub disabled_inactive_content_color: Color,
pub disabled_inactive_border_color: Color,
}Expand description
Color values for segmented buttons in different states.
Fields§
§active_container_color: ColorContainer color when enabled and active.
active_content_color: ColorContent color when enabled and active.
active_border_color: ColorBorder color when enabled and active.
inactive_container_color: ColorContainer color when enabled and inactive.
inactive_content_color: ColorContent color when enabled and inactive.
inactive_border_color: ColorBorder color when enabled and inactive.
disabled_active_container_color: ColorContainer color when disabled and active.
disabled_active_content_color: ColorContent color when disabled and active.
disabled_active_border_color: ColorBorder color when disabled and active.
disabled_inactive_container_color: ColorContainer color when disabled and inactive.
disabled_inactive_content_color: ColorContent color when disabled and inactive.
disabled_inactive_border_color: ColorBorder color when disabled and inactive.
Trait Implementations§
Source§impl Clone for SegmentedButtonColors
impl Clone for SegmentedButtonColors
Source§fn clone(&self) -> SegmentedButtonColors
fn clone(&self) -> SegmentedButtonColors
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 SegmentedButtonColors
Source§impl Debug for SegmentedButtonColors
impl Debug for SegmentedButtonColors
Source§impl PartialEq for SegmentedButtonColors
impl PartialEq for SegmentedButtonColors
impl StructuralPartialEq for SegmentedButtonColors
Auto Trait Implementations§
impl Freeze for SegmentedButtonColors
impl RefUnwindSafe for SegmentedButtonColors
impl Send for SegmentedButtonColors
impl Sync for SegmentedButtonColors
impl Unpin for SegmentedButtonColors
impl UnsafeUnpin for SegmentedButtonColors
impl UnwindSafe for SegmentedButtonColors
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.