mokuya 0.0.4

Generic procedural macro helpers for parsing, type analysis, and derive macro generation.
Documentation
1
2
3
4
5
use syn::{Attribute, DeriveInput};

pub fn get_attributes(input: &DeriveInput) -> Vec<Attribute> {
    input.attrs.clone()
}