Struct vega_lite_4::MagentaExprRefBuilder
source · pub struct MagentaExprRefBuilder { /* private fields */ }
Expand description
Builder for MagentaExprRef
.
Implementations§
source§impl MagentaExprRefBuilder
impl MagentaExprRefBuilder
pub fn bottom<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
pub fn left<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
pub fn right<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
pub fn top<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<MagentaExprRef, MagentaExprRefBuilderError>
pub fn build(&self) -> Result<MagentaExprRef, MagentaExprRefBuilderError>
Trait Implementations§
source§impl Clone for MagentaExprRefBuilder
impl Clone for MagentaExprRefBuilder
source§fn clone(&self) -> MagentaExprRefBuilder
fn clone(&self) -> MagentaExprRefBuilder
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 MagentaExprRefBuilder
impl Send for MagentaExprRefBuilder
impl Sync for MagentaExprRefBuilder
impl Unpin for MagentaExprRefBuilder
impl UnwindSafe for MagentaExprRefBuilder
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