[−][src]Enum rustc_mir_build::thir::ExprRef

pub(crate) enum ExprRef<'tcx> {
    Thir(&'tcx Expr<'tcx>),
    Mirror(Box<Expr<'tcx>>),
}

Variants

Thir(&'tcx Expr<'tcx>)
Mirror(Box<Expr<'tcx>>)

Implementations

impl<'tcx> ExprRef<'tcx>[src]

pub(crate) fn span(&self) -> Span[src]

Trait Implementations

impl<'tcx> Clone for ExprRef<'tcx>[src]

impl<'tcx> Debug for ExprRef<'tcx>[src]

impl<'tcx> EvalInto<'tcx> for ExprRef<'tcx>[src]

impl<'tcx> Mirror<'tcx> for ExprRef<'tcx>[src]

type Output = Expr<'tcx>

Auto Trait Implementations

impl<'tcx> !RefUnwindSafe for ExprRef<'tcx>

impl<'tcx> !Send for ExprRef<'tcx>

impl<'tcx> !Sync for ExprRef<'tcx>

impl<'tcx> Unpin for ExprRef<'tcx>

impl<'tcx> !UnwindSafe for ExprRef<'tcx>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<'a, T> Captures<'a> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.