pub trait FSigKind<I>:
Copy
+ Debug
+ Hash
+ Eqwhere
I: Interner<FSigKind = Self>,{
// Required methods
fn fn_sig_kind(self) -> Self;
fn new(
abi: <I as Interner>::Abi,
safety: <I as Interner>::Safety,
c_variadic: bool,
) -> Self;
fn abi(self) -> <I as Interner>::Abi;
fn safety(self) -> <I as Interner>::Safety;
fn c_variadic(self) -> bool;
}Required Methods§
Sourcefn fn_sig_kind(self) -> Self
fn fn_sig_kind(self) -> Self
The identity function.
Sourcefn new(
abi: <I as Interner>::Abi,
safety: <I as Interner>::Safety,
c_variadic: bool,
) -> Self
fn new( abi: <I as Interner>::Abi, safety: <I as Interner>::Safety, c_variadic: bool, ) -> Self
Create a new FnSigKind with the given ABI, safety, and C-style variadic flag.
Sourcefn c_variadic(self) -> bool
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.