pub struct ListItemColors {Show 24 fields
pub container_color: Color,
pub headline_color: Color,
pub overline_color: Color,
pub supporting_color: Color,
pub leading_color: Color,
pub trailing_color: Color,
pub disabled_container_color: Color,
pub disabled_headline_color: Color,
pub disabled_overline_color: Color,
pub disabled_supporting_color: Color,
pub disabled_leading_color: Color,
pub disabled_trailing_color: Color,
pub selected_container_color: Color,
pub selected_headline_color: Color,
pub selected_overline_color: Color,
pub selected_supporting_color: Color,
pub selected_leading_color: Color,
pub selected_trailing_color: Color,
pub dragged_container_color: Color,
pub dragged_headline_color: Color,
pub dragged_overline_color: Color,
pub dragged_supporting_color: Color,
pub dragged_leading_color: Color,
pub dragged_trailing_color: Color,
}Expand description
Colors used by list items in different states.
Fields§
§container_color: ColorContainer color when enabled and not selected.
headline_color: ColorHeadline text color when enabled and not selected.
overline_color: ColorOverline text color when enabled and not selected.
supporting_color: ColorSupporting text color when enabled and not selected.
leading_color: ColorLeading slot content color when enabled and not selected.
trailing_color: ColorTrailing slot content color when enabled and not selected.
disabled_container_color: ColorContainer color when disabled.
disabled_headline_color: ColorHeadline text color when disabled.
disabled_overline_color: ColorOverline text color when disabled.
disabled_supporting_color: ColorSupporting text color when disabled.
disabled_leading_color: ColorLeading slot content color when disabled.
disabled_trailing_color: ColorTrailing slot content color when disabled.
selected_container_color: ColorContainer color when selected.
selected_headline_color: ColorHeadline text color when selected.
selected_overline_color: ColorOverline text color when selected.
selected_supporting_color: ColorSupporting text color when selected.
selected_leading_color: ColorLeading slot content color when selected.
selected_trailing_color: ColorTrailing slot content color when selected.
dragged_container_color: ColorContainer color while dragged.
dragged_headline_color: ColorHeadline color while dragged.
dragged_overline_color: ColorOverline color while dragged.
dragged_supporting_color: ColorSupporting text color while dragged.
dragged_leading_color: ColorLeading content color while dragged.
dragged_trailing_color: ColorTrailing content color while dragged.
Trait Implementations§
Source§impl Clone for ListItemColors
impl Clone for ListItemColors
Source§fn clone(&self) -> ListItemColors
fn clone(&self) -> ListItemColors
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ListItemColors
Source§impl Debug for ListItemColors
impl Debug for ListItemColors
Source§impl PartialEq for ListItemColors
impl PartialEq for ListItemColors
impl StructuralPartialEq for ListItemColors
Auto Trait Implementations§
impl Freeze for ListItemColors
impl RefUnwindSafe for ListItemColors
impl Send for ListItemColors
impl Sync for ListItemColors
impl Unpin for ListItemColors
impl UnsafeUnpin for ListItemColors
impl UnwindSafe for ListItemColors
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
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>
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>
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)
&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)
&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>
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>
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)
&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)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.