Struct vega_lite_4::NiceTimeIntervalStepBuilder
source · pub struct NiceTimeIntervalStepBuilder { /* private fields */ }
Expand description
Builder for NiceTimeIntervalStep
.
Implementations§
source§impl NiceTimeIntervalStepBuilder
impl NiceTimeIntervalStepBuilder
pub fn interval<VALUE: Into<TimeInterval>>(&mut self, value: VALUE) -> &mut Self
pub fn step<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
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<NiceTimeIntervalStep, NiceTimeIntervalStepBuilderError>
pub fn build( &self ) -> Result<NiceTimeIntervalStep, NiceTimeIntervalStepBuilderError>
Trait Implementations§
source§impl Clone for NiceTimeIntervalStepBuilder
impl Clone for NiceTimeIntervalStepBuilder
source§fn clone(&self) -> NiceTimeIntervalStepBuilder
fn clone(&self) -> NiceTimeIntervalStepBuilder
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 NiceTimeIntervalStepBuilder
impl Send for NiceTimeIntervalStepBuilder
impl Sync for NiceTimeIntervalStepBuilder
impl Unpin for NiceTimeIntervalStepBuilder
impl UnwindSafe for NiceTimeIntervalStepBuilder
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