Enum rustc_lint::middle::ty::FnOutputUnstable
[-] [+]
[src]
pub enum FnOutput<'tcx> {
FnConverging(&'tcx TyS<'tcx>),
FnDiverging,
}Variants
FnConverging | |
FnDiverging |
pub enum FnOutput<'tcx> {
FnConverging(&'tcx TyS<'tcx>),
FnDiverging,
}FnConverging | |
FnDiverging |
impl<'tcx> FnOutput<'tcx>fn diverges(&self) -> boolfn unwrap(self) -> &'tcx TyS<'tcx>fn unwrap_or(self, def: &'tcx TyS<'tcx>) -> &'tcx TyS<'tcx>impl<'tcx> HasProjectionTypes for FnOutput<'tcx>fn has_projection_types(&self) -> boolimpl<'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>impl<'tcx> Debug for FnOutput<'tcx>impl<'tcx> Hash for FnOutput<'tcx>impl<'tcx> Eq for FnOutput<'tcx>impl<'tcx> PartialEq<FnOutput<'tcx>> for FnOutput<'tcx>impl<'tcx> Copy for FnOutput<'tcx>impl<'tcx> Clone for FnOutput<'tcx>fn clone(&self) -> FnOutput<'tcx>fn clone_from(&mut self, source: &Self)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).