Enum rustc_trans::middle::ty::FnOutputUnstable [-] [+] [src]

pub enum FnOutput<'tcx> {
    FnConverging(&'tcx TyS<'tcx>),
    FnDiverging,
}

Variants

FnConverging
FnDiverging

Methods

impl<'tcx> FnOutput<'tcx>

fn diverges(&self) -> bool

fn unwrap(self) -> &'tcx TyS<'tcx>

fn unwrap_or(self, def: &'tcx TyS<'tcx>) -> &'tcx TyS<'tcx>

Trait Implementations

impl<'tcx> HasProjectionTypes for FnOutput<'tcx>

fn has_projection_types(&self) -> bool

impl<'tcx> TypeFoldable<'tcx> for FnOutput<'tcx>

fn fold_with<F>(&self, folder: &mut F) -> FnOutput<'tcx> where F: TypeFolder<'tcx>

impl<'tcx> Repr<'tcx> for FnOutput<'tcx>

fn repr(&self, tcx: &ctxt<'tcx>) -> String

Derived Implementations

impl<'tcx> Debug for FnOutput<'tcx>

fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>

impl<'tcx> Hash for FnOutput<'tcx>

fn hash<__H>(&self, __arg_0: &mut __H) where __H: Hasher

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl<'tcx> Eq for FnOutput<'tcx>

impl<'tcx> PartialEq<FnOutput<'tcx>> for FnOutput<'tcx>

fn eq(&self, __arg_0: &FnOutput<'tcx>) -> bool

fn ne(&self, __arg_0: &FnOutput<'tcx>) -> bool

impl<'tcx> Copy for FnOutput<'tcx>

impl<'tcx> Clone for FnOutput<'tcx>

fn clone(&self) -> FnOutput<'tcx>

fn clone_from(&mut self, source: &Self)