pub enum EvaluationValue {
Group(Group),
Integer(LitInt),
String(LitStr),
}Expand description
A value appearing in evaluation position, e.g. inside a delimited group.
Variants§
Group(Group)
A delimited token group value.
Integer(LitInt)
An integer literal value.
String(LitStr)
A string literal value.
Trait Implementations§
Source§impl Clone for EvaluationValue
impl Clone for EvaluationValue
Source§fn clone(&self) -> EvaluationValue
fn clone(&self) -> EvaluationValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EvaluationValue
impl Debug for EvaluationValue
Source§impl Parse for EvaluationValue
impl Parse for EvaluationValue
Auto Trait Implementations§
impl !Send for EvaluationValue
impl !Sync for EvaluationValue
impl Freeze for EvaluationValue
impl RefUnwindSafe for EvaluationValue
impl Unpin for EvaluationValue
impl UnsafeUnpin for EvaluationValue
impl UnwindSafe for EvaluationValue
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