pub struct ColorSerde { /* private fields */ }
Trait Implementations
sourceimpl Clone for ColorSerde
impl Clone for ColorSerde
sourcefn clone(&self) -> ColorSerde
fn clone(&self) -> ColorSerde
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<'de> Deserialize<'de> for ColorSerde
impl<'de> Deserialize<'de> for ColorSerde
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 From<Color> for ColorSerde
impl From<Color> for ColorSerde
sourceimpl From<ColorSerde> for Color
impl From<ColorSerde> for Color
sourcefn from(color: ColorSerde) -> Self
fn from(color: ColorSerde) -> Self
Converts to this type from the input type.
sourceimpl Serialize for ColorSerde
impl Serialize for ColorSerde
Auto Trait Implementations
impl RefUnwindSafe for ColorSerde
impl Send for ColorSerde
impl Sync for ColorSerde
impl Unpin for ColorSerde
impl UnwindSafe for ColorSerde
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