Struct vega_lite_4::FluffyExprRef
source · pub struct FluffyExprRef {
pub expr: Option<String>,
pub condition: Option<ExprRefCondition>,
pub value: Option<Align>,
}
Fields§
§expr: Option<String>
Vega expression (which can refer to Vega-Lite parameters).
condition: Option<ExprRefCondition>
§value: Option<Align>
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 FluffyExprRef
impl Clone for FluffyExprRef
source§fn clone(&self) -> FluffyExprRef
fn clone(&self) -> FluffyExprRef
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 FluffyExprRef
impl Debug for FluffyExprRef
source§impl Default for FluffyExprRef
impl Default for FluffyExprRef
source§fn default() -> FluffyExprRef
fn default() -> FluffyExprRef
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FluffyExprRef
impl<'de> Deserialize<'de> for FluffyExprRef
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<FluffyExprRef> for ConditionalAxisPropertyAlignNull
impl From<FluffyExprRef> for ConditionalAxisPropertyAlignNull
source§fn from(original: FluffyExprRef) -> ConditionalAxisPropertyAlignNull
fn from(original: FluffyExprRef) -> ConditionalAxisPropertyAlignNull
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for FluffyExprRef
impl Send for FluffyExprRef
impl Sync for FluffyExprRef
impl Unpin for FluffyExprRef
impl UnwindSafe for FluffyExprRef
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