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>
impl<V: Clone + ExprVisitor> Clone for VisitedExpr<V>
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 moreimpl<V: Copy + ExprVisitor> Copy for VisitedExpr<V>
Auto Trait Implementations§
impl<V> Freeze for VisitedExpr<V>
impl<V> RefUnwindSafe for VisitedExpr<V>
impl<V> Send for VisitedExpr<V>
impl<V> Sync for VisitedExpr<V>
impl<V> Unpin for VisitedExpr<V>
impl<V> UnwindSafe for VisitedExpr<V>
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