Struct vega_lite_4::IndecentExprRefBuilder
source · pub struct IndecentExprRefBuilder { /* private fields */ }
Expand description
Builder for IndecentExprRef
.
Implementations§
source§impl IndecentExprRefBuilder
impl IndecentExprRefBuilder
sourcepub fn expr<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn expr<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Vega expression (which can refer to Vega-Lite parameters).
pub fn condition<VALUE: Into<FluffyConditionalPredicateValueDefFontWeightNullExprRef>>( &mut self, value: VALUE ) -> &mut Self
sourcepub fn value<VALUE: Into<ValueUnion>>(&mut self, value: VALUE) -> &mut Self
pub fn value<VALUE: Into<ValueUnion>>(&mut self, value: VALUE) -> &mut Self
A constant value in visual domain (e.g., "red"
/ "#0099ff"
/ gradient
definition for color, values
between 0
to 1
for opacity).
sourcepub fn build(&self) -> Result<IndecentExprRef, IndecentExprRefBuilderError>
pub fn build(&self) -> Result<IndecentExprRef, IndecentExprRefBuilderError>
Trait Implementations§
source§impl Clone for IndecentExprRefBuilder
impl Clone for IndecentExprRefBuilder
source§fn clone(&self) -> IndecentExprRefBuilder
fn clone(&self) -> IndecentExprRefBuilder
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 moreAuto Trait Implementations§
impl RefUnwindSafe for IndecentExprRefBuilder
impl Send for IndecentExprRefBuilder
impl Sync for IndecentExprRefBuilder
impl Unpin for IndecentExprRefBuilder
impl UnwindSafe for IndecentExprRefBuilder
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