pub enum Term<'input> {
Literal(&'input str),
HexLiteral(&'input str),
OctLiteral(&'input str),
BinLiteral(&'input str),
Constant(Constant),
History(HistoryIndexKind, usize),
}
Expand description
A term in the expression.
Variants
Literal(&'input str)
HexLiteral(&'input str)
OctLiteral(&'input str)
BinLiteral(&'input str)
Constant(Constant)
History(HistoryIndexKind, usize)
Trait Implementations
impl<'input> Copy for Term<'input>
impl<'input> Eq for Term<'input>
impl<'input> StructuralEq for Term<'input>
impl<'input> StructuralPartialEq for Term<'input>
Auto Trait Implementations
impl<'input> RefUnwindSafe for Term<'input>
impl<'input> Send for Term<'input>
impl<'input> Sync for Term<'input>
impl<'input> Unpin for Term<'input>
impl<'input> UnwindSafe for Term<'input>
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