pub enum ListItemTint {
Monochrome,
Fixed(Color),
Preferred(Color),
}Expand description
Which ListItemTint a row uses.
The two colour cases are static functions, not static vars, which is
why only .monochrome appears in the statics report — there is nothing
for a plain getter to return when the case takes an argument.
Variants§
Monochrome
Tint with the list’s own monochrome treatment.
Fixed(Color)
This colour, always.
Preferred(Color)
This colour unless the user’s accent colour overrides it.
Trait Implementations§
Source§impl Clone for ListItemTint
impl Clone for ListItemTint
impl Copy for ListItemTint
Auto Trait Implementations§
impl Freeze for ListItemTint
impl RefUnwindSafe for ListItemTint
impl Send for ListItemTint
impl Sync for ListItemTint
impl Unpin for ListItemTint
impl UnsafeUnpin for ListItemTint
impl UnwindSafe for ListItemTint
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