pub enum EvalValue {
Integer(i64),
Double(f64),
Boolean(bool),
String(String),
}Expand description
Typed value produced by Expression::eval.
Distinct from Value because an intermediate expression result
has no parameter name — it’s a raw typed value that the calling
derived parameter then wraps with its own name and provenance.
Variants§
Integer(i64)
64-bit signed integer.
Double(f64)
IEEE-754 f64.
Boolean(bool)
Boolean.
String(String)
UTF-8 string.
Implementations§
Trait Implementations§
impl StructuralPartialEq for EvalValue
Auto Trait Implementations§
impl Freeze for EvalValue
impl RefUnwindSafe for EvalValue
impl Send for EvalValue
impl Sync for EvalValue
impl Unpin for EvalValue
impl UnsafeUnpin for EvalValue
impl UnwindSafe for EvalValue
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