Struct pixels_graphics_lib::ui::styles::ColorSet
source · pub struct ColorSet {
pub normal: Option<Color>,
pub hover: Option<Color>,
}
Fields§
§normal: Option<Color>
§hover: Option<Color>
Implementations§
Trait Implementations§
source§impl PartialEq<ColorSet> for ColorSet
impl PartialEq<ColorSet> for ColorSet
impl Eq for ColorSet
impl StructuralEq for ColorSet
impl StructuralPartialEq for ColorSet
Auto Trait Implementations§
impl RefUnwindSafe for ColorSet
impl Send for ColorSet
impl Sync for ColorSet
impl Unpin for ColorSet
impl UnwindSafe for ColorSet
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.