Skip to main content

## PolyFnSig

# Type Alias PolyFnSig

Source

    pub type PolyFnSig = Binder<FnSig>;

## Aliased Type§

    pub struct PolyFnSig {
        pub value: FnSig,
        pub bound_vars: Vec<BoundVariableKind>,
    }

## Fields§

§`value: FnSig`§`bound_vars: Vec<BoundVariableKind>`

## Implementations§

Source§

### impl PolyFnSig

Source

#### pub fn fn_ptr_abi(self) -> Result<FnAbi, Error>

Compute a `FnAbi` suitable for indirect calls, i.e. to `fn` pointers.

NB: this doesn’t handle virtual calls - those should use `Instance::fn_abi` instead, where the instance is an `InstanceKind::Virtual`.

## 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: 56 bytes