pub trait TypeFunctionInstanceEquivalent {
// Required methods
fn same_function(&self, other: &Self) -> bool;
fn type_arguments(&self) -> &[TypeId] ⓘ;
fn pack_arguments(&self) -> &[TypePackId] ⓘ;
}Expand description
C++ template<typename T> bool areEquivalent(const T& a, const T& b).
Required Methods§
fn same_function(&self, other: &Self) -> bool
fn type_arguments(&self) -> &[TypeId] ⓘ
fn pack_arguments(&self) -> &[TypePackId] ⓘ
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".