pub struct LayoutColorScale { /* private fields */ }
Implementations§
Source§impl LayoutColorScale
impl LayoutColorScale
pub fn sequential(self, value: ColorScale) -> Self
pub fn sequential_minus(self, value: ColorScale) -> Self
pub fn diverging(self, value: ColorScale) -> Self
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
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