pub enum NodeColoringGradient {
Reds,
Oranges,
Purples,
Greens,
Blues,
BuPu,
OrRd,
PuRd,
RdPu,
Viridis,
Cividis,
Plasma,
}Expand description
Gradient for coloring nodes.
This implements the Gradient trait to provide colors based on input values of type Option<f64>.
Variants§
Reds
Reds
Oranges
Oranges
Purples
Purples
Greens
Greens
Blues
Blues
BuPu
Blue-Purple
OrRd
Orange-Red
PuRd
Purple-Red
RdPu
Red-Purple
Viridis
Viridis
Cividis
Cividis
Plasma
Plasma
Trait Implementations§
Source§impl Clone for NodeColoringGradient
impl Clone for NodeColoringGradient
Source§fn clone(&self) -> NodeColoringGradient
fn clone(&self) -> NodeColoringGradient
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 NodeColoringGradient
impl Debug for NodeColoringGradient
Source§impl Default for NodeColoringGradient
impl Default for NodeColoringGradient
Source§fn default() -> NodeColoringGradient
fn default() -> NodeColoringGradient
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodeColoringGradient
impl<'de> Deserialize<'de> for NodeColoringGradient
Source§fn 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
Source§impl From<NodeColoringGradient> for Gradient
impl From<NodeColoringGradient> for Gradient
Source§fn from(value: NodeColoringGradient) -> Self
fn from(value: NodeColoringGradient) -> Self
Converts to this type from the input type.
Source§impl FromStr for NodeColoringGradient
impl FromStr for NodeColoringGradient
Source§impl Gradient for NodeColoringGradient
impl Gradient for NodeColoringGradient
Source§impl TryFrom<&str> for NodeColoringGradient
impl TryFrom<&str> for NodeColoringGradient
impl Copy for NodeColoringGradient
Auto Trait Implementations§
impl Freeze for NodeColoringGradient
impl RefUnwindSafe for NodeColoringGradient
impl Send for NodeColoringGradient
impl Sync for NodeColoringGradient
impl Unpin for NodeColoringGradient
impl UnwindSafe for NodeColoringGradient
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