pub enum ExpressionValue {
Number(f64),
Boolean(bool),
String(String),
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ExpressionValue
impl Clone for ExpressionValue
Source§fn clone(&self) -> ExpressionValue
fn clone(&self) -> ExpressionValue
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 ExpressionValue
impl Debug for ExpressionValue
Source§impl PartialEq for ExpressionValue
impl PartialEq for ExpressionValue
Source§fn eq(&self, other: &ExpressionValue) -> bool
fn eq(&self, other: &ExpressionValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExpressionValue
Auto Trait Implementations§
impl Freeze for ExpressionValue
impl RefUnwindSafe for ExpressionValue
impl Send for ExpressionValue
impl Sync for ExpressionValue
impl Unpin for ExpressionValue
impl UnsafeUnpin for ExpressionValue
impl UnwindSafe for ExpressionValue
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