pub struct ConditionalPredicateValueDefFontStyleNullExprRefBuilder { /* private fields */ }
Expand description
Builder for ConditionalPredicateValueDefFontStyleNullExprRef
.
Implementations§
source§impl ConditionalPredicateValueDefFontStyleNullExprRefBuilder
impl ConditionalPredicateValueDefFontStyleNullExprRefBuilder
sourcepub fn test<VALUE: Into<PredicateCompositionElement>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn test<VALUE: Into<PredicateCompositionElement>>( &mut self, value: VALUE ) -> &mut Self
Predicate for triggering the condition
sourcepub fn value<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn value<VALUE: Into<String>>(&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 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).
sourcepub fn build(
&self
) -> Result<ConditionalPredicateValueDefFontStyleNullExprRef, ConditionalPredicateValueDefFontStyleNullExprRefBuilderError>
pub fn build( &self ) -> Result<ConditionalPredicateValueDefFontStyleNullExprRef, ConditionalPredicateValueDefFontStyleNullExprRefBuilderError>
Builds a new ConditionalPredicateValueDefFontStyleNullExprRef
.
Errors
If a required field has not been initialized.
Trait Implementations§
source§impl Clone for ConditionalPredicateValueDefFontStyleNullExprRefBuilder
impl Clone for ConditionalPredicateValueDefFontStyleNullExprRefBuilder
source§fn clone(&self) -> ConditionalPredicateValueDefFontStyleNullExprRefBuilder
fn clone(&self) -> ConditionalPredicateValueDefFontStyleNullExprRefBuilder
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 ConditionalPredicateValueDefFontStyleNullExprRefBuilder
impl Send for ConditionalPredicateValueDefFontStyleNullExprRefBuilder
impl Sync for ConditionalPredicateValueDefFontStyleNullExprRefBuilder
impl Unpin for ConditionalPredicateValueDefFontStyleNullExprRefBuilder
impl UnwindSafe for ConditionalPredicateValueDefFontStyleNullExprRefBuilder
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