Module interoptopus::util
source · Expand description
Helpers for backend authors.
Structs§
- Allows, for example,
my_id
to be converted toMyId
. - Maps an internal namespace like
common
to a language namespace likeCompany.Common
.
Functions§
- Checks whether the given type should be “the same type everywhere”.
- Logs an error if compiled with feature
log
. - Given a number of functions like [
lib_x
,lib_y
] return the longest common prefixlib_
. - Converts an internal name like
fn() -> X
to a safe name likefn_rval_x
- Sorts types so the latter entries will find their dependents earlier in this list.