[−][src]Enum vega_lite_4::ScaleBins
Bin boundaries can be provided to scales as either an explicit array of bin boundaries or
as a bin specification object. The legal values are: - An array
literal of bin boundary values. For example, [0, 5, 10, 15, 20]
. The array must include
both starting and ending boundaries. The previous example uses five values to indicate a
total of four bin intervals: [0-5), [5-10), [10-15), [15-20]. Array literals may include
signal references as elements. - A bin specification
object that indicates the bin
step size, and optionally the start and stop boundaries. - An array of bin
boundaries over the scale domain. If provided, axes and legends will use the bin
boundaries to inform the choice of tick marks and text labels.
Variants
ScaleBinParams(ScaleBinParams)
Trait Implementations
impl Clone for ScaleBins
[src]
impl Debug for ScaleBins
[src]
impl<'de> Deserialize<'de> for ScaleBins
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<ScaleBinParams> for ScaleBins
[src]
pub fn from(original: ScaleBinParams) -> ScaleBins
[src]
impl From<Vec<f64, Global>> for ScaleBins
[src]
impl Serialize for ScaleBins
[src]
Auto Trait Implementations
impl RefUnwindSafe for ScaleBins
[src]
impl Send for ScaleBins
[src]
impl Sync for ScaleBins
[src]
impl Unpin for ScaleBins
[src]
impl UnwindSafe for ScaleBins
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,