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

pub struct BareFnTy<'tcx> {
    pub unsafety: Unsafety,
    pub abi: Abi,
    pub sig: Binder<FnSig<'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>(&self, folder: &mut F) -> BareFnTy<'tcx> where F: TypeFolder<'tcx>

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

fn relate<R>(relation: &mut R, a: &BareFnTy<'tcx>, b: &BareFnTy<'tcx>) -> Result<BareFnTy<'tcx>, type_err<'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<(), Error>

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

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