pub struct ColorScaleElement(pub f64, pub String);Tuple Fields§
§0: f64§1: StringTrait Implementations§
Source§impl Clone for ColorScaleElement
impl Clone for ColorScaleElement
Source§fn clone(&self) -> ColorScaleElement
fn clone(&self) -> ColorScaleElement
Returns a copy 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 ColorScaleElement
impl Debug for ColorScaleElement
Source§impl Serialize for ColorScaleElement
impl Serialize for ColorScaleElement
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ColorScaleElement
impl RefUnwindSafe for ColorScaleElement
impl Send for ColorScaleElement
impl Sync for ColorScaleElement
impl Unpin for ColorScaleElement
impl UnwindSafe for ColorScaleElement
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