Enum vega_lite_4::StrokeDashUnion
source · pub enum StrokeDashUnion {
BackgroundExprRef(BackgroundExprRef),
DoubleArray(Vec<f64>),
}
Expand description
A constant value in visual domain (e.g., "red"
/ "#0099ff"
/ gradient
definition for color, values
between 0
to 1
for opacity).
Variants§
BackgroundExprRef(BackgroundExprRef)
DoubleArray(Vec<f64>)
Trait Implementations§
source§impl Clone for StrokeDashUnion
impl Clone for StrokeDashUnion
source§fn clone(&self) -> StrokeDashUnion
fn clone(&self) -> StrokeDashUnion
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 StrokeDashUnion
impl Debug for StrokeDashUnion
source§impl<'de> Deserialize<'de> for StrokeDashUnion
impl<'de> Deserialize<'de> for StrokeDashUnion
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<BackgroundExprRef> for StrokeDashUnion
impl From<BackgroundExprRef> for StrokeDashUnion
source§fn from(original: BackgroundExprRef) -> StrokeDashUnion
fn from(original: BackgroundExprRef) -> StrokeDashUnion
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for StrokeDashUnion
impl Send for StrokeDashUnion
impl Sync for StrokeDashUnion
impl Unpin for StrokeDashUnion
impl UnwindSafe for StrokeDashUnion
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