Struct vega_lite_4::TentacledExprRef
source · pub struct TentacledExprRef {
pub expr: Option<String>,
pub condition: Option<ExprRefConditionUnion>,
pub value: Option<Baseline>,
}
Fields§
§expr: Option<String>
Vega expression (which can refer to Vega-Lite parameters).
condition: Option<ExprRefConditionUnion>
§value: Option<Baseline>
A constant value in visual domain (e.g., "red"
/ "#0099ff"
/ gradient
definition for color, values
between 0
to 1
for opacity).
Trait Implementations§
source§impl Clone for TentacledExprRef
impl Clone for TentacledExprRef
source§fn clone(&self) -> TentacledExprRef
fn clone(&self) -> TentacledExprRef
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 TentacledExprRef
impl Debug for TentacledExprRef
source§impl Default for TentacledExprRef
impl Default for TentacledExprRef
source§fn default() -> TentacledExprRef
fn default() -> TentacledExprRef
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TentacledExprRef
impl<'de> Deserialize<'de> for TentacledExprRef
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<TentacledExprRef> for PurpleTextBaseline
impl From<TentacledExprRef> for PurpleTextBaseline
source§fn from(original: TentacledExprRef) -> PurpleTextBaseline
fn from(original: TentacledExprRef) -> PurpleTextBaseline
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for TentacledExprRef
impl Send for TentacledExprRef
impl Sync for TentacledExprRef
impl Unpin for TentacledExprRef
impl UnwindSafe for TentacledExprRef
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