[−][src]Trait rustc_mir_build::thir::cx::to_ref::ToRef

pub(crate) trait ToRef {
    type Output;
    pub(crate) fn to_ref(self) -> Self::Output;
}

Associated Types

type Output[src]

Loading content...

Required methods

pub(crate) fn to_ref(self) -> Self::Output[src]

Loading content...

Implementations on Foreign Types

impl<'tcx> ToRef for &'tcx Expr<'tcx>[src]

type Output = ExprRef<'tcx>

impl<'tcx> ToRef for &'tcx &'tcx Expr<'tcx>[src]

type Output = ExprRef<'tcx>

impl<'tcx, T, U> ToRef for &'tcx Option<T> where
    &'tcx T: ToRef<Output = U>, 
[src]

type Output = Option<U>

impl<'tcx, T, U> ToRef for &'tcx Vec<T> where
    &'tcx T: ToRef<Output = U>, 
[src]

type Output = Vec<U>

impl<'tcx, T, U> ToRef for &'tcx [T] where
    &'tcx T: ToRef<Output = U>, 
[src]

type Output = Vec<U>

Loading content...

Implementors

impl<'tcx> ToRef for rustc_mir_build::thir::Expr<'tcx>[src]

type Output = ExprRef<'tcx>

Loading content...