pub struct LayoutColorScale { /* private fields */ }Implementations§
Source§impl LayoutColorScale
impl LayoutColorScale
pub fn sequential(self, value: ColorScale) -> LayoutColorScale
pub fn sequential_minus(self, value: ColorScale) -> LayoutColorScale
pub fn diverging(self, value: ColorScale) -> LayoutColorScale
Source§impl LayoutColorScale
impl LayoutColorScale
pub fn new() -> LayoutColorScale
Trait Implementations§
Source§impl Clone for LayoutColorScale
impl Clone for LayoutColorScale
Source§fn clone(&self) -> LayoutColorScale
fn clone(&self) -> LayoutColorScale
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 LayoutColorScale
impl Debug for LayoutColorScale
Source§impl Default for LayoutColorScale
impl Default for LayoutColorScale
Source§fn default() -> LayoutColorScale
fn default() -> LayoutColorScale
Returns the “default value” for a type. Read more
Source§impl Serialize for LayoutColorScale
impl Serialize for LayoutColorScale
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 LayoutColorScale
impl RefUnwindSafe for LayoutColorScale
impl Send for LayoutColorScale
impl Sync for LayoutColorScale
impl Unpin for LayoutColorScale
impl UnwindSafe for LayoutColorScale
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