Type Alias rustc_middle::ty::PolyFnSig
source · pub type PolyFnSig<'tcx> = Binder<'tcx, FnSig<'tcx>>;
Aliased Type§
struct PolyFnSig<'tcx> {
value: FnSig<'tcx>,
bound_vars: &'tcx List<BoundVariableKind>,
}
Fields§
§value: FnSig<'tcx>
§bound_vars: &'tcx List<BoundVariableKind>
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
pub fn is_fn_trait_compatible(&self) -> bool
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