pub enum ExpressionAtom<'i> {
Parenthesized(Expression<'i>),
Type(Type<'i>),
Literal(Literal<'i>),
Identifier(&'i str),
}
Expand description
An atom (single value in an expression)
Variants
Parenthesized(Expression<'i>)
Expression in parentheses
Type(Type<'i>)
Data type
Literal(Literal<'i>)
Literal value
Identifier(&'i str)
Identifier
Trait Implementations
Auto Trait Implementations
impl<'i> RefUnwindSafe for ExpressionAtom<'i>
impl<'i> Send for ExpressionAtom<'i>
impl<'i> Sync for ExpressionAtom<'i>
impl<'i> Unpin for ExpressionAtom<'i>
impl<'i> UnwindSafe for ExpressionAtom<'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