[−][src]Struct vega_lite_3::SelectionConfig
An object hash for defining default properties for each type of selections.
Fields
interval: Option<IntervalSelectionConfig>
The default definition for an
interval
selection. All
properties and transformations
for an interval selection definition (except type
) may be specified here.
For instance, setting interval
to {"translate": false}
disables the ability to move
interval selections by default.
multi: Option<MultiSelectionConfig>
The default definition for a
multi
selection. All
properties and transformations
for a multi selection definition (except type
) may be specified here.
For instance, setting multi
to {"toggle": "event.altKey"}
adds additional values to
multi selections when clicking with the alt-key pressed by default.
single: Option<SingleSelectionConfig>
The default definition for a
single
selection. All
properties and transformations
for a single selection definition (except type
) may be specified here.
For instance, setting single
to {"on": "dblclick"}
populates single selections on
double-click by default.
Trait Implementations
impl Clone for SelectionConfig
[src]
fn clone(&self) -> SelectionConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SelectionConfig
[src]
impl Default for SelectionConfig
[src]
fn default() -> SelectionConfig
[src]
impl<'de> Deserialize<'de> for SelectionConfig
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for SelectionConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for SelectionConfig
impl Send for SelectionConfig
impl Sync for SelectionConfig
impl Unpin for SelectionConfig
impl UnwindSafe for SelectionConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,