pub struct ColorPoint {
pub color: Color,
pub transition: ColorTransition,
pub transition_time: u32,
}Fields§
§color: Color§transition: ColorTransition§transition_time: u32Transition time in ms.
Trait Implementations§
Source§impl Clone for ColorPoint
impl Clone for ColorPoint
Source§fn clone(&self) -> ColorPoint
fn clone(&self) -> ColorPoint
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 ColorPoint
impl Debug for ColorPoint
Source§impl<'de> Deserialize<'de> for ColorPoint
impl<'de> Deserialize<'de> for ColorPoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ColorPoint
impl PartialEq for ColorPoint
Source§impl Serialize for ColorPoint
impl Serialize for ColorPoint
impl Eq for ColorPoint
impl StructuralPartialEq for ColorPoint
Auto Trait Implementations§
impl Freeze for ColorPoint
impl RefUnwindSafe for ColorPoint
impl Send for ColorPoint
impl Sync for ColorPoint
impl Unpin for ColorPoint
impl UnwindSafe for ColorPoint
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