Skip to main content

## FSigKind

# Trait FSigKind

Source

    pub trait FSigKind<I: Interner<FSigKind = Self>>:
        Copy
        + Debug
        + Hash
        + Eq {
        // Required methods
        fn fn_sig_kind(self) -> Self;
        fn new(abi: I::Abi, safety: I::Safety, c_variadic: bool) -> Self;
        fn abi(self) -> I::Abi;
        fn safety(self) -> I::Safety;
        fn c_variadic(self) -> bool;
    }

## Required Methods§

Source

#### fn fn_sig_kind(self) -> Self

The identity function.

Source

#### fn new(abi: I::Abi, safety: I::Safety, c_variadic: bool) -> Self

Create a new FnSigKind with the given ABI, safety, and C-style variadic flag.

Source

#### fn abi(self) -> I::Abi

Returns the ABI.

Source

#### fn safety(self) -> I::Safety

Returns the safety mode.

Source

#### fn c_variadic(self) -> bool

Do the function arguments end with a C-style variadic argument?

## Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

## Implementors§