Struct vega_lite_4::PurpleBinding
source · pub struct PurpleBinding {Show 21 fields
pub debounce: Option<f64>,
pub element: Option<String>,
pub input: Option<String>,
pub name: Option<String>,
pub binding_type: Option<String>,
pub labels: Option<Vec<String>>,
pub options: Option<Vec<Option<Value>>>,
pub max: Option<f64>,
pub min: Option<f64>,
pub step: Option<f64>,
pub autocomplete: Option<String>,
pub placeholder: Option<String>,
pub between: Option<Vec<Stream>>,
pub consume: Option<bool>,
pub filter: Option<LegendText>,
pub markname: Option<String>,
pub marktype: Option<MarkType>,
pub source: Option<Source>,
pub throttle: Option<f64>,
pub stream: Option<Stream>,
pub merge: Option<Vec<Stream>>,
}
Expand description
Binds the parameter to an external input element such as a slider, selection list or radio button group.
Fields§
§debounce: Option<f64>
§element: Option<String>
§input: Option<String>
§name: Option<String>
§binding_type: Option<String>
§labels: Option<Vec<String>>
§options: Option<Vec<Option<Value>>>
§max: Option<f64>
§min: Option<f64>
§step: Option<f64>
§autocomplete: Option<String>
§placeholder: Option<String>
§between: Option<Vec<Stream>>
§consume: Option<bool>
§filter: Option<LegendText>
§markname: Option<String>
§marktype: Option<MarkType>
§source: Option<Source>
§throttle: Option<f64>
§stream: Option<Stream>
§merge: Option<Vec<Stream>>
Trait Implementations§
source§impl Clone for PurpleBinding
impl Clone for PurpleBinding
source§fn clone(&self) -> PurpleBinding
fn clone(&self) -> PurpleBinding
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 PurpleBinding
impl Debug for PurpleBinding
source§impl Default for PurpleBinding
impl Default for PurpleBinding
source§fn default() -> PurpleBinding
fn default() -> PurpleBinding
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PurpleBinding
impl<'de> Deserialize<'de> for PurpleBinding
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<PurpleBinding> for PurpleStream
impl From<PurpleBinding> for PurpleStream
source§fn from(original: PurpleBinding) -> PurpleStream
fn from(original: PurpleBinding) -> PurpleStream
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for PurpleBinding
impl Send for PurpleBinding
impl Sync for PurpleBinding
impl Unpin for PurpleBinding
impl UnwindSafe for PurpleBinding
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