pub enum MarkConfigExprOrSignalRefColor {
PurpleLinearGradient(PurpleLinearGradient),
String(String),
}
Expand description
Default color.
Default value: ■ "#4682b4"
Note: - This property cannot be used in a style
config. - The fill
and
stroke
properties have higher precedence than color
and will override color
.
Variants§
PurpleLinearGradient(PurpleLinearGradient)
String(String)
Trait Implementations§
source§impl Clone for MarkConfigExprOrSignalRefColor
impl Clone for MarkConfigExprOrSignalRefColor
source§fn clone(&self) -> MarkConfigExprOrSignalRefColor
fn clone(&self) -> MarkConfigExprOrSignalRefColor
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<'de> Deserialize<'de> for MarkConfigExprOrSignalRefColor
impl<'de> Deserialize<'de> for MarkConfigExprOrSignalRefColor
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<&str> for MarkConfigExprOrSignalRefColor
impl From<&str> for MarkConfigExprOrSignalRefColor
source§impl From<PurpleLinearGradient> for MarkConfigExprOrSignalRefColor
impl From<PurpleLinearGradient> for MarkConfigExprOrSignalRefColor
source§fn from(original: PurpleLinearGradient) -> MarkConfigExprOrSignalRefColor
fn from(original: PurpleLinearGradient) -> MarkConfigExprOrSignalRefColor
Converts to this type from the input type.
source§impl From<String> for MarkConfigExprOrSignalRefColor
impl From<String> for MarkConfigExprOrSignalRefColor
source§fn from(original: String) -> MarkConfigExprOrSignalRefColor
fn from(original: String) -> MarkConfigExprOrSignalRefColor
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for MarkConfigExprOrSignalRefColor
impl Send for MarkConfigExprOrSignalRefColor
impl Sync for MarkConfigExprOrSignalRefColor
impl Unpin for MarkConfigExprOrSignalRefColor
impl UnwindSafe for MarkConfigExprOrSignalRefColor
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