pub struct GridDashOffsetExprRefBuilder { /* private fields */ }
Expand description
Builder for GridDashOffsetExprRef
.
Implementations§
source§impl GridDashOffsetExprRefBuilder
impl GridDashOffsetExprRefBuilder
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<StickyConditionalPredicateValueDefNumberNullExprRef>>( &mut self, value: VALUE ) -> &mut Self
sourcepub fn value<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
pub fn value<VALUE: Into<f64>>(&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<GridDashOffsetExprRef, GridDashOffsetExprRefBuilderError>
pub fn build( &self ) -> Result<GridDashOffsetExprRef, GridDashOffsetExprRefBuilderError>
Trait Implementations§
source§impl Clone for GridDashOffsetExprRefBuilder
impl Clone for GridDashOffsetExprRefBuilder
source§fn clone(&self) -> GridDashOffsetExprRefBuilder
fn clone(&self) -> GridDashOffsetExprRefBuilder
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 GridDashOffsetExprRefBuilder
impl Send for GridDashOffsetExprRefBuilder
impl Sync for GridDashOffsetExprRefBuilder
impl Unpin for GridDashOffsetExprRefBuilder
impl UnwindSafe for GridDashOffsetExprRefBuilder
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