Struct ftd::ColorValue
source · [−]Fields
r: u8
g: u8
b: u8
alpha: f32
Trait Implementations
sourceimpl Clone for ColorValue
impl Clone for ColorValue
sourcefn clone(&self) -> ColorValue
fn clone(&self) -> ColorValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ColorValue
impl Debug for ColorValue
sourceimpl Default for ColorValue
impl Default for ColorValue
sourcefn default() -> ColorValue
fn default() -> ColorValue
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ColorValue
impl<'de> Deserialize<'de> for ColorValue
sourcefn 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
sourceimpl PartialEq<ColorValue> for ColorValue
impl PartialEq<ColorValue> for ColorValue
sourcefn eq(&self, other: &ColorValue) -> bool
fn eq(&self, other: &ColorValue) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for ColorValue
impl Serialize for ColorValue
impl StructuralPartialEq for ColorValue
Auto Trait Implementations
impl RefUnwindSafe for ColorValue
impl Send for ColorValue
impl Sync for ColorValue
impl Unpin for ColorValue
impl UnwindSafe for ColorValue
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