Add comment + move derive helper

This commit is contained in:
Rune Tynan
2021-02-08 15:45:50 -05:00
parent a26fa74d3c
commit ce02b7f7a6
3 changed files with 5 additions and 1 deletions

View File

@@ -282,8 +282,8 @@ pub enum StructType {
}
#[non_exhaustive]
#[serde(rename_all = "snake_case")]
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq)]
#[serde(rename_all = "snake_case")]
pub enum Modifiers {
Const,
Unsafe,