Enum vega_lite_4::ValueUnion
source · pub enum ValueUnion {
Double(f64),
Enum(FontWeightEnum),
}
Variants§
Double(f64)
Enum(FontWeightEnum)
Trait Implementations§
source§impl Clone for ValueUnion
impl Clone for ValueUnion
source§fn clone(&self) -> ValueUnion
fn clone(&self) -> ValueUnion
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 ValueUnion
impl Debug for ValueUnion
source§impl<'de> Deserialize<'de> for ValueUnion
impl<'de> Deserialize<'de> for ValueUnion
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<FontWeightEnum> for ValueUnion
impl From<FontWeightEnum> for ValueUnion
source§fn from(original: FontWeightEnum) -> ValueUnion
fn from(original: FontWeightEnum) -> ValueUnion
Converts to this type from the input type.
source§impl From<f64> for ValueUnion
impl From<f64> for ValueUnion
source§fn from(original: f64) -> ValueUnion
fn from(original: f64) -> ValueUnion
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ValueUnion
impl Send for ValueUnion
impl Sync for ValueUnion
impl Unpin for ValueUnion
impl UnwindSafe for ValueUnion
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