Files
Graphite/core/editor/src/hint.rs
T0mstone 5f565aeb74 Add proc macros for Hint and edge (#63)
* Add proc-macro crate with two macros

* Let cargo recalculate the Cargo.lock

* Add tests and refactor some code to allow testing

also the impl for parse_hint_helper_attrs now preserves order
(which is essential for testing)
2021-04-07 13:51:33 +02:00

6 lines
96 B
Rust

use std::collections::HashMap;
pub trait Hint {
fn hints(&self) -> HashMap<String, String>;
}