[−][src]Enum vega_lite_4::DiscreteWidthUnion
The default width when the plot has non-arc marks and either a discrete x-field or no
x-field. The width can be either a number indicating a fixed width or an object in the
form of {step: number}
defining the width per discrete step.
Default value: a step size based on config.view.step
.
Variants
DiscreteWidthClass(DiscreteWidthClass)
Double(f64)
Trait Implementations
impl Clone for DiscreteWidthUnion
[src]
pub fn clone(&self) -> DiscreteWidthUnion
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DiscreteWidthUnion
[src]
impl<'de> Deserialize<'de> for DiscreteWidthUnion
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<DiscreteWidthClass> for DiscreteWidthUnion
[src]
pub fn from(original: DiscreteWidthClass) -> DiscreteWidthUnion
[src]
impl From<f64> for DiscreteWidthUnion
[src]
pub fn from(original: f64) -> DiscreteWidthUnion
[src]
impl Serialize for DiscreteWidthUnion
[src]
Auto Trait Implementations
impl RefUnwindSafe for DiscreteWidthUnion
[src]
impl Send for DiscreteWidthUnion
[src]
impl Sync for DiscreteWidthUnion
[src]
impl Unpin for DiscreteWidthUnion
[src]
impl UnwindSafe for DiscreteWidthUnion
[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>,