Skip to main content

FnSig

Type Alias FnSig 

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

Aliased Type§

pub 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> Erasable for FnSig<'tcx>

Source§

type Storage = [u8; 16]

Storage type to used for erased values of this type. Should be [u8; N], where N is equal to size_of::<Self>. Read more
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