macro_rules! asserted_short_name {
    ($name:literal, $ty:ty) => { ... };
}
Expand description

Will endure that the short name of Self is matching the name of struct, resolved via Self argument. This prevents invalid names in Debug/Display output after refactoring without performance penalty at run time. Will panic in debug build only if the name is not matching and always resolves to the literal name in release build.