pub struct ColorEvent {
pub kind: RequestColor,
pub value: [(u16, u16); 3],
}
Expand description
An event to indicate a concrete color.
Fields§
§kind: RequestColor
§value: [(u16, u16); 3]
The value has three components, with each component comprising a magnitude and a maximum value (which is either 0xff, 0xffff, 0xffffff, or 0xffff_ffff).
Trait Implementations§
Source§impl Clone for ColorEvent
impl Clone for ColorEvent
Source§fn clone(&self) -> ColorEvent
fn clone(&self) -> ColorEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ColorEvent
impl Debug for ColorEvent
Source§impl PartialEq for ColorEvent
impl PartialEq for ColorEvent
impl Copy for ColorEvent
impl Eq for ColorEvent
impl StructuralPartialEq for ColorEvent
Auto Trait Implementations§
impl Freeze for ColorEvent
impl RefUnwindSafe for ColorEvent
impl Send for ColorEvent
impl Sync for ColorEvent
impl Unpin for ColorEvent
impl UnwindSafe for ColorEvent
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