#[derive(Embed)] { // Attributes available to this derive: #[embed] }
References: https://doc.rust-lang.org/book/ch19-06-macros.html#how-to-write-a-custom-derive-macro https://doc.rust-lang.org/reference/procedural-macros.html