Enum rustc::middle::ty::FnOutputUnstable
[-] [+]
[src]
pub enum FnOutput<'tcx> { FnConverging(Ty<'tcx>), FnDiverging, }
Variants
FnConverging | |
FnDiverging |
pub enum FnOutput<'tcx> { FnConverging(Ty<'tcx>), FnDiverging, }
FnConverging | |
FnDiverging |
impl<'tcx> FnOutput<'tcx>
fn diverges(&self) -> bool
fn unwrap(self) -> Ty<'tcx>
fn unwrap_or(self, def: Ty<'tcx>) -> Ty<'tcx>
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>
impl<'tcx> Debug for FnOutput<'tcx>
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>
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
).