Expand description
Struct representing a single colour
component in the Colours
section.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Combo(i32, Rgb)
Additive combo colours.
SliderTrackOverride(Rgb)
Additive slider track colour.
SliderBorder(Rgb)
Slider border colour.
Trait Implementations
sourceimpl PartialEq<Colour> for Colour
impl PartialEq<Colour> for Colour
sourceimpl VersionedFromStr for Colour
impl VersionedFromStr for Colour
sourceimpl VersionedToString for Colour
impl VersionedToString for Colour
impl Copy for Colour
impl Eq for Colour
impl StructuralEq for Colour
impl StructuralPartialEq for Colour
Auto Trait Implementations
impl RefUnwindSafe for Colour
impl Send for Colour
impl Sync for Colour
impl Unpin for Colour
impl UnwindSafe for Colour
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more