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>

source

pub fn inputs(&self) -> Binder<'tcx, &'tcx [Ty<'tcx>]>

source

pub fn input(&self, index: usize) -> Binder<'tcx, Ty<'tcx>>

source

pub fn inputs_and_output(&self) -> Binder<'tcx, &'tcx List<Ty<'tcx>>>

source

pub fn output(&self) -> Binder<'tcx, Ty<'tcx>>

source

pub fn c_variadic(&self) -> bool

source

pub fn unsafety(&self) -> Unsafety

source

pub fn abi(&self) -> Abi

source

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