[−][src]Enum cfg_lib::config::ScalarValue
This represents a scalar value corresponding to a token.
Variants
This is the (absence of) value for punctuation tokens.
This is the value for the "null" keyword.
Bool(bool)
This is the value for the "true" and "false" keywords.
Identifier(String)
This is the value for an identifier.
String(String)
This is the value for a string literal.
Integer(i64)
This is the value for an integer.
Float(f64)
This is the value for a floating-point number.
Complex(Complex64)
This is the value for a complex number.
Date(NaiveDate)
This is the value for a date.
DateTime(DateTime<FixedOffset>)
This is the value for a date/time.
Trait Implementations
impl Clone for ScalarValue
[src]
fn clone(&self) -> ScalarValue
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ScalarValue
[src]
impl Display for ScalarValue
[src]
impl PartialEq<ScalarValue> for ScalarValue
[src]
fn eq(&self, other: &ScalarValue) -> bool
[src]
fn ne(&self, other: &ScalarValue) -> bool
[src]
impl StructuralPartialEq for ScalarValue
[src]
Auto Trait Implementations
impl RefUnwindSafe for ScalarValue
impl Send for ScalarValue
impl Sync for ScalarValue
impl Unpin for ScalarValue
impl UnwindSafe for ScalarValue
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,
fn borrow_mut(&mut self) -> &mut T
[src]
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.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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.
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>,