Enum vega_lite_4::LegendBinding
source · pub enum LegendBinding {
Enum(LegendBindingEnum),
LegendStreamBinding(LegendStreamBinding),
}
Expand description
When set, a selection is populated by interacting with the corresponding legend. Direct
manipulation interaction is disabled by default; to re-enable it, set the selection’s
on
property.
Legend bindings are restricted to selections that only specify a single field or encoding.
Variants§
Enum(LegendBindingEnum)
LegendStreamBinding(LegendStreamBinding)
Trait Implementations§
source§impl Clone for LegendBinding
impl Clone for LegendBinding
source§fn clone(&self) -> LegendBinding
fn clone(&self) -> LegendBinding
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 moresource§impl Debug for LegendBinding
impl Debug for LegendBinding
source§impl<'de> Deserialize<'de> for LegendBinding
impl<'de> Deserialize<'de> for LegendBinding
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<LegendBindingEnum> for LegendBinding
impl From<LegendBindingEnum> for LegendBinding
source§fn from(original: LegendBindingEnum) -> LegendBinding
fn from(original: LegendBindingEnum) -> LegendBinding
Converts to this type from the input type.
source§impl From<LegendStreamBinding> for LegendBinding
impl From<LegendStreamBinding> for LegendBinding
source§fn from(original: LegendStreamBinding) -> LegendBinding
fn from(original: LegendStreamBinding) -> LegendBinding
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for LegendBinding
impl Send for LegendBinding
impl Sync for LegendBinding
impl Unpin for LegendBinding
impl UnwindSafe for LegendBinding
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