Skip to main content

Module utils

Module utils 

Source
Expand description

Utility functions for the plexor-core crate

Functions§

struct_name_of_type
This function takes a generic type T and returns the last part of its type name by splitting on “::” and taking the last element. This is useful for getting just the struct name without the full module path.