Enum vega_lite_4::SingleBind
source · pub enum SingleBind {
Enum(LegendBindingEnum),
UnionMap(HashMap<String, FluffyStream>),
}
Expand description
When set, a selection is populated by input elements (also known as dynamic query
widgets) or 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.
Query widget binding takes the form of Vega’s input element binding definition or can be a mapping between projected field/encodings and binding definitions.
See also: bind
documentation.
Variants§
Enum(LegendBindingEnum)
UnionMap(HashMap<String, FluffyStream>)
Trait Implementations§
source§impl Clone for SingleBind
impl Clone for SingleBind
source§fn clone(&self) -> SingleBind
fn clone(&self) -> SingleBind
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 SingleBind
impl Debug for SingleBind
source§impl<'de> Deserialize<'de> for SingleBind
impl<'de> Deserialize<'de> for SingleBind
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<HashMap<String, FluffyStream, RandomState>> for SingleBind
impl From<HashMap<String, FluffyStream, RandomState>> for SingleBind
source§fn from(original: HashMap<String, FluffyStream>) -> SingleBind
fn from(original: HashMap<String, FluffyStream>) -> SingleBind
Converts to this type from the input type.
source§impl From<LegendBindingEnum> for SingleBind
impl From<LegendBindingEnum> for SingleBind
source§fn from(original: LegendBindingEnum) -> SingleBind
fn from(original: LegendBindingEnum) -> SingleBind
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for SingleBind
impl Send for SingleBind
impl Sync for SingleBind
impl Unpin for SingleBind
impl UnwindSafe for SingleBind
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