We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried something like this:
#[derive(deluxe::ExtractAttributes)] #[deluxe(attributes(foobar))] struct TupleStruct( Ident, #[deluxe(default)] Option<Ident>, );
But this requires you to use Some(...) when using the attribute:
Some(...)
#[foobar(hello, Some(world)) numb: f32,
Is there a way so that we can omit the Some?
Some
The text was updated successfully, but these errors were encountered:
It looks like that this works:
#[derive(deluxe::ExtractAttributes)] #[deluxe(attributes(foobar))] struct TupleStruct( Ident, #[deluxe(default, with = deluxe::with::syn)] Option<Ident>, );
Very cool library 👍
Sorry, something went wrong.
No branches or pull requests
I tried something like this:
But this requires you to use
Some(...)
when using the attribute:Is there a way so that we can omit the
Some
?The text was updated successfully, but these errors were encountered: