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

pub struct FnSig<'tcx> {
    pub inputs: Vec<&'tcx TyS<'tcx>>,
    pub output: FnOutput<'tcx>,
    pub variadic: bool,
}

Signature of a function type, which I have arbitrarily decided to use to refer to the input/output types.

Fields

inputs
output
variadic

Trait Implementations

impl<'tcx> Combineable<'tcx> for FnSig<'tcx>

fn combine<C: Combine<'tcx>>(combiner: &C, a: &FnSig<'tcx>, b: &FnSig<'tcx>) -> Result<FnSig<'tcx>, type_err<'tcx>>

impl<'tcx> Show for FnSig<'tcx>

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

impl<'tcx> HasProjectionTypes for FnSig<'tcx>

fn has_projection_types(&self) -> bool

impl<'tcx> TypeFoldable<'tcx> for FnSig<'tcx>

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

impl<'tcx> Repr<'tcx> for FnSig<'tcx>

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

Derived Implementations

impl<'tcx, __S: Writer> Hash<__S> for FnSig<'tcx>

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

impl<'tcx> Eq for FnSig<'tcx>

fn assert_receiver_is_total_eq(&self)

impl<'tcx> PartialEq<FnSig<'tcx>> for FnSig<'tcx>

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

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

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

impl<'tcx> Clone for FnSig<'tcx>

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

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