pub enum ColorWrapper {
S(String),
F(f64),
}
Variants§
Trait Implementations§
Source§impl Clone for ColorWrapper
impl Clone for ColorWrapper
Source§fn clone(&self) -> ColorWrapper
fn clone(&self) -> ColorWrapper
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 ColorWrapper
impl Debug for ColorWrapper
Source§impl PartialEq for ColorWrapper
impl PartialEq for ColorWrapper
Auto Trait Implementations§
impl Freeze for ColorWrapper
impl RefUnwindSafe for ColorWrapper
impl Send for ColorWrapper
impl Sync for ColorWrapper
impl Unpin for ColorWrapper
impl UnwindSafe for ColorWrapper
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