pub enum LiteralType<'i> {
Set(Vec<Expression<'i>>),
Number(BigRational),
String(String),
Boolean(bool),
}
Expand description
A literal value
Variants
Set(Vec<Expression<'i>>)
A set of expressions
Number(BigRational)
A number (integer or real)
String(String)
A string
Boolean(bool)
A boolean value
Trait Implementations
Auto Trait Implementations
impl<'i> RefUnwindSafe for LiteralType<'i>
impl<'i> Send for LiteralType<'i>
impl<'i> Sync for LiteralType<'i>
impl<'i> Unpin for LiteralType<'i>
impl<'i> UnwindSafe for LiteralType<'i>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more