Struct vega_lite_4::ScaleBinParams
source · pub struct ScaleBinParams {
pub start: Option<f64>,
pub step: Option<f64>,
pub stop: Option<f64>,
}
Fields§
§start: Option<f64>
The starting (lowest-valued) bin boundary.
Default value: The lowest value of the scale domain will be used.
step: Option<f64>
The step size defining the bin interval width.
stop: Option<f64>
The stopping (highest-valued) bin boundary.
Default value: The highest value of the scale domain will be used.
Trait Implementations§
source§impl Clone for ScaleBinParams
impl Clone for ScaleBinParams
source§fn clone(&self) -> ScaleBinParams
fn clone(&self) -> ScaleBinParams
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 ScaleBinParams
impl Debug for ScaleBinParams
source§impl Default for ScaleBinParams
impl Default for ScaleBinParams
source§fn default() -> ScaleBinParams
fn default() -> ScaleBinParams
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ScaleBinParams
impl<'de> Deserialize<'de> for ScaleBinParams
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<ScaleBinParams> for ScaleBins
impl From<ScaleBinParams> for ScaleBins
source§fn from(original: ScaleBinParams) -> ScaleBins
fn from(original: ScaleBinParams) -> ScaleBins
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ScaleBinParams
impl Send for ScaleBinParams
impl Sync for ScaleBinParams
impl Unpin for ScaleBinParams
impl UnwindSafe for ScaleBinParams
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