pub(crate) trait ToGeneric<T> {
// Required method
fn to_generic(&self) -> T;
}Expand description
Helper trait for converting LLVM-specific types to backend-independent types, for FFI purposes.
FIXME(#147327): These trait/method names were chosen to avoid churn in existing code, but are not great and could probably be made clearer.