pub enum SymbolicExpr<'tcx> {
Show 18 variants
    Argument(Place<'tcx>),
    Constant(Const<'tcx>),
    BinaryOp {
        op: BinOp,
        left: Box<SymbolicExpr<'tcx>>,
        right: Box<SymbolicExpr<'tcx>>,
    },
    UnaryOp {
        op: UnOp,
        operand: Box<SymbolicExpr<'tcx>>,
    },
    Cast {
        kind: CastKind,
        operand: Box<SymbolicExpr<'tcx>>,
        target_ty: Ty<'tcx>,
    },
    Ref {
        kind: BorrowKind,
        place_expr: Box<SymbolicExpr<'tcx>>,
    },
    AddressOf {
        mutability: RawPtrKind,
        place_expr: Box<SymbolicExpr<'tcx>>,
    },
    Deref(Box<SymbolicExpr<'tcx>>),
    Len(Box<SymbolicExpr<'tcx>>),
    Aggregate {
        kind: Box<AggregateKind<'tcx>>,
        fields: Vec<SymbolicExpr<'tcx>>,
    },
    Repeat {
        value: Box<SymbolicExpr<'tcx>>,
        count: Const<'tcx>,
    },
    Index {
        base: Box<SymbolicExpr<'tcx>>,
        index: Box<SymbolicExpr<'tcx>>,
    },
    Ssa(Vec<SymbolicExpr<'tcx>>),
    Essa {
        operand: Box<SymbolicExpr<'tcx>>,
        constraint_operand: VarorConst<'tcx>,
        bin_op: BinOp,
    },
    Discriminant(Box<SymbolicExpr<'tcx>>),
    NullaryOp(NullOp<'tcx>, Ty<'tcx>),
    ThreadLocalRef(DefId),
    Unknown(UnknownReason),
}Variants§
Argument(Place<'tcx>)
Constant(Const<'tcx>)
BinaryOp
UnaryOp
Cast
Ref
AddressOf
Deref(Box<SymbolicExpr<'tcx>>)
Len(Box<SymbolicExpr<'tcx>>)
Aggregate
Repeat
Index
Ssa(Vec<SymbolicExpr<'tcx>>)
Essa
Discriminant(Box<SymbolicExpr<'tcx>>)
NullaryOp(NullOp<'tcx>, Ty<'tcx>)
ThreadLocalRef(DefId)
Unknown(UnknownReason)
Trait Implementations§
Source§impl<'tcx> Clone for SymbolicExpr<'tcx>
 
impl<'tcx> Clone for SymbolicExpr<'tcx>
Source§fn clone(&self) -> SymbolicExpr<'tcx>
 
fn clone(&self) -> SymbolicExpr<'tcx>
Returns a duplicate 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<'tcx> Debug for SymbolicExpr<'tcx>
 
impl<'tcx> Debug for SymbolicExpr<'tcx>
Source§impl<'tcx> Display for SymbolicExpr<'tcx>
 
impl<'tcx> Display for SymbolicExpr<'tcx>
Source§impl<'tcx> PartialEq for SymbolicExpr<'tcx>
 
impl<'tcx> PartialEq for SymbolicExpr<'tcx>
impl<'tcx> Eq for SymbolicExpr<'tcx>
impl<'tcx> StructuralPartialEq for SymbolicExpr<'tcx>
Auto Trait Implementations§
impl<'tcx> Freeze for SymbolicExpr<'tcx>
impl<'tcx> !RefUnwindSafe for SymbolicExpr<'tcx>
impl<'tcx> Send for SymbolicExpr<'tcx>
impl<'tcx> Sync for SymbolicExpr<'tcx>
impl<'tcx> Unpin for SymbolicExpr<'tcx>
impl<'tcx> !UnwindSafe for SymbolicExpr<'tcx>
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.