Struct rustc::middle::ty::FnSig[src]

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

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

Fields

binder_id
inputs
output
variadic

Trait Implementations

impl Show for FnSig

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

impl TypeFoldable for FnSig

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

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

impl Clone for FnSig

fn clone(&self) -> FnSig

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