Enum semantic_analyzer::types::ExpressionValue
source · pub enum ExpressionValue {
ValueName(ValueName),
PrimitiveValue(PrimitiveValue),
StructValue(StructValue),
FunctionCall(FunctionCall),
Expression(Box<Expression>),
}
Variants§
ValueName(ValueName)
PrimitiveValue(PrimitiveValue)
StructValue(StructValue)
FunctionCall(FunctionCall)
Expression(Box<Expression>)
Trait Implementations§
source§impl Clone for ExpressionValue
impl Clone for ExpressionValue
source§fn clone(&self) -> ExpressionValue
fn clone(&self) -> ExpressionValue
Returns a copy of the value. Read more
1.0.0 · 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 From<ExpressionValue<'_>> for ExpressionValue
impl From<ExpressionValue<'_>> for ExpressionValue
source§fn from(value: ExpressionValue<'_>) -> Self
fn from(value: ExpressionValue<'_>) -> Self
Converts to this type from the input type.
source§impl PartialEq<ExpressionValue> for ExpressionValue
impl PartialEq<ExpressionValue> for ExpressionValue
source§fn eq(&self, other: &ExpressionValue) -> bool
fn eq(&self, other: &ExpressionValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExpressionValue
Auto Trait Implementations§
impl RefUnwindSafe for ExpressionValue
impl Send for ExpressionValue
impl Sync for ExpressionValue
impl Unpin 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