Struct rustc_typeck::middle::ty::ClosureTyUnstable [-]  [+] [src]

pub struct ClosureTy<'tcx> {
    pub unsafety: Unsafety,
    pub abi: Abi,
    pub sig: Binder<FnSig<'tcx>>,
}

Fields

unsafety
abi
sig

Trait Implementations

impl<'tcx> HasProjectionTypes for ClosureTy<'tcx>

fn has_projection_types(&self) -> bool

impl<'tcx> Repr<'tcx> for ClosureTy<'tcx>

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

impl<'tcx> TypeFoldable<'tcx> for ClosureTy<'tcx>

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

Derived Implementations

impl<'tcx> Debug for ClosureTy<'tcx>

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

impl<'tcx, __S> Hash<__S> for ClosureTy<'tcx> where __S: Hasher, __S: Writer

fn hash(&self, __arg_0: &mut __S)

impl<'tcx> Eq for ClosureTy<'tcx>

fn assert_receiver_is_total_eq(&self)

impl<'tcx> PartialEq<ClosureTy<'tcx>> for ClosureTy<'tcx>

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

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

fn ne(&self, &ClosureTy<'tcx>) -> bool

impl<'tcx> Clone for ClosureTy<'tcx>

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

fn clone_from(&mut self, &ClosureTy<'tcx>)