Struct cranelift_isle::sema::VisitedExpr
source · pub struct VisitedExpr<V: ExprVisitor> {
pub ty: TypeId,
pub value: V::ExprId,
}
Expand description
Information about an expression after it has been fully visited in RuleVisitor::add_expr.
Fields§
§ty: TypeId
The type of the top-level expression.
value: V::ExprId
The identifier returned by the visitor for the top-level expression.
Trait Implementations§
source§impl<V: Clone + ExprVisitor> Clone for VisitedExpr<V>where
V::ExprId: Clone,
impl<V: Clone + ExprVisitor> Clone for VisitedExpr<V>where V::ExprId: Clone,
source§fn clone(&self) -> VisitedExpr<V>
fn clone(&self) -> VisitedExpr<V>
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