rustc_middle::ty::sty

Type Alias FnSig

Source
pub type FnSig<'tcx> = FnSig<TyCtxt<'tcx>>;

Aliased Type§

struct FnSig<'tcx> {
    pub inputs_and_output: &'tcx RawList<(), Ty<'tcx>>,
    pub c_variadic: bool,
    pub safety: Safety,
    pub abi: ExternAbi,
}

Fields§

§inputs_and_output: &'tcx RawList<(), Ty<'tcx>>§c_variadic: bool§safety: Safety§abi: ExternAbi

Trait Implementations§

Source§

impl<'tcx> EraseType for FnSig<'tcx>

Source§

type Result = [u8; 16]

Source§

impl ParameterizedOverTcx for FnSig<'static>

Source§

type Value<'tcx> = FnSig<TyCtxt<'tcx>>

Source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for FnSig<'tcx>

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 16 bytes