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.
binder_idis the node id where this fn type appeared; it is used to identify all the bound regions appearing in the input/output types that are bound by this fn type (vs some enclosing or enclosed fn type)inputsis the list of arguments and their modes.outputis the return type.variadicindicates whether this is a varidic function. (only true for foreign fns)
Fields
binder_id | |
inputs | |
output | |
variadic |