Enum vega_lite_4::SelectionDefType
source · pub enum SelectionDefType {
Interval,
Multi,
Single,
}
Expand description
Determines the default event processing and data query for the selection. Vega-Lite currently supports three selection types:
"single"
– to select a single discrete data value onclick
. -"multi"
– to select multiple discrete data value; the first value is selected onclick
and additional values toggled on shift-click
. -"interval"
– to select a continuous range of data values ondrag
.
Variants§
Trait Implementations§
source§impl Clone for SelectionDefType
impl Clone for SelectionDefType
source§fn clone(&self) -> SelectionDefType
fn clone(&self) -> SelectionDefType
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 SelectionDefType
impl Debug for SelectionDefType
source§impl<'de> Deserialize<'de> for SelectionDefType
impl<'de> Deserialize<'de> for SelectionDefType
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
Auto Trait Implementations§
impl RefUnwindSafe for SelectionDefType
impl Send for SelectionDefType
impl Sync for SelectionDefType
impl Unpin for SelectionDefType
impl UnwindSafe for SelectionDefType
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