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