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

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

Variants

FnConverging
FnDiverging

Methods

impl<'tcx> FnOutput<'tcx>

fn diverges(&self) -> bool

fn unwrap(self) -> Ty<'tcx>

fn unwrap_or(self, def: Ty<'tcx>) -> Ty<'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: TypeFolder<'tcx>>(&self, folder: &mut F) -> FnOutput<'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

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

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

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

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

impl<'tcx> PartialEq 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)