synunnamedstruct

Parse and convert structs with no name to tokens. For usage in attribute macro arguments in place of Meta attributes to allow more structured data to be used (nested objects).

Usage in derive macro definition

```rust use synunnamedstruct::Meta;

[procmacroderive(CustomMacro, attributes(customMacro))]

pub fn derive(tokens: TokenStream) -> TokenStream { let input = parsemacroinput!(tokens);

input.attrs.map(|attr| {
    let obj: Meta = attr.parse().expect("Coult not parse attribute");

    //can now interact and extract the properties from the Meta enum
    //...
});

} ```

Example macro usage

```rust

[derive(CustomMacro)]

[customMacro(name="something", other={ entry1: "val1", entry2: "val2" })]

struct MyStruct { //... } ```

Supported attributes

```

```

```

```

```

Notes