From e67bd573f164b24c4072b83d03e775eb5c908083 Mon Sep 17 00:00:00 2001 From: Jonas Meurer Date: Thu, 16 Apr 2020 15:05:33 +0200 Subject: [PATCH] Added matrix with supported macro attributes for enums --- docs/book/content/types/enums.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/book/content/types/enums.md b/docs/book/content/types/enums.md index 14122b219..736b70d4c 100644 --- a/docs/book/content/types/enums.md +++ b/docs/book/content/types/enums.md @@ -54,3 +54,17 @@ enum StarWarsEpisode { # fn main() {} ``` + +## Supported Macro Attributes (Derive) + +| Name of Attribute | Container Support | Field Support | +|-------------------|:-----------------:|:----------------:| +| context | ✔ | ? | +| deprecated | ✔ | ✔ | +| description | ✔ | ✔ | +| interfaces | ? | ✘ | +| name | ✔ | ✔ | +| noasync | ✔ | ? | +| scalar | ✔ | ? | +| skip | ? | ✔ | +| ✔: supported | ✘: not supported | ?: not available |