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

pub struct FnSig {
    pub inputs: Vec<t>,
    pub output: FnOutput,
    pub variadic: bool,
}

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

Note that a FnSig introduces a level of region binding, to account for late-bound parameters that appear in the types of the fn's arguments or the fn's return type.

Fields

inputs
output
variadic

Trait Implementations

impl Show for FnSig

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

impl TypeFoldable for FnSig

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

impl HigherRankedFoldable for FnSig

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

impl HigherRankedCombineable for FnSig

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

impl Repr for FnSig

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

Derived Implementations

impl<__S: Writer> Hash<__S> for FnSig

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

impl Eq for FnSig

fn assert_receiver_is_total_eq(&self)

impl PartialEq for FnSig

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

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

fn ne(&self, &FnSig) -> bool

impl Clone for FnSig

fn clone(&self) -> FnSig

fn clone_from(&mut self, &FnSig)