Struct vega_lite_4::LegendStreamBindingBuilder
source · pub struct LegendStreamBindingBuilder { /* private fields */ }
Expand description
Builder for LegendStreamBinding
.
Implementations§
source§impl LegendStreamBindingBuilder
impl LegendStreamBindingBuilder
pub fn legend<VALUE: Into<LegendUnion>>(&mut self, value: VALUE) -> &mut Self
sourcepub fn build(
&self
) -> Result<LegendStreamBinding, LegendStreamBindingBuilderError>
pub fn build( &self ) -> Result<LegendStreamBinding, LegendStreamBindingBuilderError>
Trait Implementations§
source§impl Clone for LegendStreamBindingBuilder
impl Clone for LegendStreamBindingBuilder
source§fn clone(&self) -> LegendStreamBindingBuilder
fn clone(&self) -> LegendStreamBindingBuilder
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 LegendStreamBindingBuilder
impl Send for LegendStreamBindingBuilder
impl Sync for LegendStreamBindingBuilder
impl Unpin for LegendStreamBindingBuilder
impl UnwindSafe for LegendStreamBindingBuilder
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