pub trait Convertible:
FnPtr
+ WithAbi<Rust>
+ WithAbi<C>
+ WithAbi<CUnwind>
+ WithAbi<System>
+ WithAbi<SystemUnwind>
+ WithSafety<Safe>
+ WithSafety<Unsafe>
+ AsSafe
+ AsUnsafe { }Expand description
Helper trait that simplifies generic bounds when converting between funciton pointer types.
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§
impl<T> Convertible for T
Available on non-
has_abi_sysv64 and non-has_abi_vectorcall and non-has_abi_cdecl and non-has_abi_stdcall and non-has_abi_win64 and non-has_abi_thiscall and non-has_abi_aapcs and non-has_abi_fastcall only.