Enum hir::ir::Expression
[−]
[src]
pub enum Expression { FunctionCall(FunctionCall), Literal(Literal), }
Variants
FunctionCall(FunctionCall)
Literal(Literal)
Trait Implementations
impl Debug for Expression
[src]
impl Debug for Expression
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Expression
[src]
impl Clone for Expression
fn clone(&self) -> Expression
[src]
fn clone(&self) -> Expression
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Expression
[src]
impl PartialEq for Expression
fn eq(&self, __arg_0: &Expression) -> bool
[src]
fn eq(&self, __arg_0: &Expression) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Expression) -> bool
[src]
fn ne(&self, __arg_0: &Expression) -> bool
This method tests for !=
.
impl HeapSizeOf for Expression
[src]
impl HeapSizeOf for Expression
fn heap_size_of_children(&self) -> usize
[src]
fn heap_size_of_children(&self) -> usize
Measure the size of any heap-allocated structures that hang off this value, but not the space taken up by the value itself (i.e. what size_of:: measures, more or less); that space is handled by the implementation of HeapSizeOf for Box below. Read more
impl IrNode for Expression
[src]
impl IrNode for Expression
impl From<FunctionCall> for Expression
[src]
impl From<FunctionCall> for Expression
fn from(other: FunctionCall) -> Expression
[src]
fn from(other: FunctionCall) -> Expression
Performs the conversion.
impl From<Literal> for Expression
[src]
impl From<Literal> for Expression
fn from(other: Literal) -> Expression
[src]
fn from(other: Literal) -> Expression
Performs the conversion.
Auto Trait Implementations
impl Send for Expression
impl Send for Expression
impl Sync for Expression
impl Sync for Expression