Type Definition rustc_middle::ty::sty::PolyFnSig
source · Implementations§
source§impl<'tcx> PolyFnSig<'tcx>
impl<'tcx> PolyFnSig<'tcx>
pub fn inputs(&self) -> Binder<'tcx, &'tcx [Ty<'tcx>]>
pub fn input(&self, index: usize) -> Binder<'tcx, Ty<'tcx>>
pub fn inputs_and_output(&self) -> Binder<'tcx, &'tcx List<Ty<'tcx>>>
pub fn output(&self) -> Binder<'tcx, Ty<'tcx>>
pub fn c_variadic(&self) -> bool
pub fn unsafety(&self) -> Unsafety
pub fn abi(&self) -> Abi
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: 24 bytes