You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Please refer to [the book](https://godot-rust.github.io/book/register/constants.html).
752
+
///
753
+
/// # Multiple inherent `impl` blocks
754
+
///
755
+
/// Just like with regular structs, you can have multiple inherent `impl` blocks. This can be useful for code organization or when you want to generate code from a proc-macro.
756
+
/// For implementation reasons, all but one `impl` blocks must have the key `secondary`. There is no difference between implementing all functions in one block or splitting them up between multiple blocks.
/// Parses a `meta` TokenStream, that is, the tokens in parameter position of a proc-macro (between the braces).
295
+
/// Because venial can't actually parse a meta item directly, this is done by reconstructing the full macro attribute on top of some content and then parsing *that*.
296
+
pubfnvenial_parse_meta(
297
+
meta:&TokenStream,
298
+
self_name:Ident,
299
+
content:&TokenStream,
300
+
) -> Result<venial::Item, venial::Error>{
301
+
// Hack because venial doesn't support direct meta parsing yet
0 commit comments