Struct rush_analyzer::ast::AnalyzedIfExpr
source · pub struct AnalyzedIfExpr<'src> {
pub result_type: Type,
pub cond: AnalyzedExpression<'src>,
pub then_block: AnalyzedBlock<'src>,
pub else_block: Option<AnalyzedBlock<'src>>,
}Fields§
§result_type: Type§cond: AnalyzedExpression<'src>§then_block: AnalyzedBlock<'src>§else_block: Option<AnalyzedBlock<'src>>Trait Implementations§
source§impl<'src> Clone for AnalyzedIfExpr<'src>
impl<'src> Clone for AnalyzedIfExpr<'src>
source§fn clone(&self) -> AnalyzedIfExpr<'src>
fn clone(&self) -> AnalyzedIfExpr<'src>
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 more