add regions around enums for better overview

This commit is contained in:
OMGeeky
2024-05-16 19:29:32 +02:00
parent e7cce53a51
commit 0f1e01363c

View File

@@ -73,6 +73,7 @@ impl Default for Scope {
###############################################################################################
###############################################################################################
<%def name="new(enum_type, e, c)">\
// region ${enum_type}
#[derive(Clone, Copy, Eq, Hash, Debug, PartialEq, Serialize, Deserialize)]
% if e.get('description'):
/// ${e.description}
@@ -138,4 +139,7 @@ impl Default for ${enum_type} {
}
}
% endif
// endregion
</%def>