mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2025-12-26 17:02:24 +01:00
add regions around enums for better overview
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user