Struct rustc::middle::ty::BareFnTyUnstable [-] [+] [src]

pub struct BareFnTy<'tcx> {
    pub unsafety: Unsafety,
    pub abi: Abi,
    pub sig: PolyFnSig<'tcx>,
}

Fields

unsafety
abi
sig

Trait Implementations

impl<'tcx> HasProjectionTypes for BareFnTy<'tcx>

fn has_projection_types(&self) -> bool

impl<'tcx> TypeFoldable<'tcx> for BareFnTy<'tcx>

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

impl<'a, 'tcx> Relate<'a, 'tcx> for BareFnTy<'tcx>

fn relate<R>(relation: &mut R, a: &BareFnTy<'tcx>, b: &BareFnTy<'tcx>) -> RelateResult<'tcx, BareFnTy<'tcx>> where R: TypeRelation<'a, 'tcx>

impl<'tcx> Repr<'tcx> for BareFnTy<'tcx>

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

Derived Implementations

impl<'tcx> Debug for BareFnTy<'tcx>

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

impl<'tcx> Hash for BareFnTy<'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 BareFnTy<'tcx>

impl<'tcx> PartialEq for BareFnTy<'tcx>

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

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

impl<'tcx> Clone for BareFnTy<'tcx>

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

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