diff options
| author | JSDurand <mmemmew@gmail.com> | 2024-01-08 16:13:19 +0800 |
|---|---|---|
| committer | JSDurand <mmemmew@gmail.com> | 2024-01-08 16:13:19 +0800 |
| commit | 3ae0cf9898485a2ec35df7d23cd274e7dea5796d (patch) | |
| tree | 35acbd1223288eb6f62ab281b57845c0ce2ed1c5 /graph_macro/src/lib.rs | |
| parent | 55f7068e91182dfe458fad41c3251388ea461569 (diff) | |
a commit before the forst query
I think the main functionalities are already there, but the lack of
querying capabilities makes this not very useful at the moment.
This commit is right before an attempt to add this missing piece.
Diffstat (limited to 'graph_macro/src/lib.rs')
| -rw-r--r-- | graph_macro/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/graph_macro/src/lib.rs b/graph_macro/src/lib.rs index 3b7742a..409e6db 100644 --- a/graph_macro/src/lib.rs +++ b/graph_macro/src/lib.rs @@ -137,6 +137,8 @@ macro_rules! myerror { }; } +/// Derive macro generating an implementation of the trait `Graph` +/// inheriting a field. #[proc_macro_derive(Graph, attributes(graph))] pub fn graph_derive(input: TokenStream) -> TokenStream { let mut input = input.into_iter().peekable(); |
