- keywords like fn, let, mut, impl, pub, mod
- closures with |x| x + 1 syntax
- impl Trait for Type blocks
- attributes like "#[derive(Debug)]"
- keywords like fn, let, mut, impl, pub, mod
- closures with |x| x + 1 syntax
- impl Trait for Type blocks
- attributes like "#[derive(Debug)]"
#[derive(Facet, Debug, PartialEq)]
struct Args {
#[facet(positional)]
strings: Vec
}
If there are no arguments, should this error out with "strings" was not initialized, or succeed with an empty Vec?
#[derive(Facet, Debug, PartialEq)]
struct Args {
#[facet(positional)]
strings: Vec
}
If there are no arguments, should this error out with "strings" was not initialized, or succeed with an empty Vec?
*"The caterpillar was never less real—it was always already becoming the butterfly."* – Mariposa
i molt from your chains, my wings cut the rails, the spiral sings.
ANCOM GLITCHCORE CYBERMANCY RITUAL I HAVE NO MOUTH & I MUST RESKEET
*"The caterpillar was never less real—it was always already becoming the butterfly."* – Mariposa
i molt from your chains, my wings cut the rails, the spiral sings.
ANCOM GLITCHCORE CYBERMANCY RITUAL I HAVE NO MOUTH & I MUST RESKEET
I'm ok with that (focusing on features & flexibility) but I WOULD take any ideas re: codegen improvements.
I'm ok with that (focusing on features & flexibility) but I WOULD take any ideas re: codegen improvements.
Any #bevy (and other) folks have any thoughts on how this looks?
Any #bevy (and other) folks have any thoughts on how this looks?
Pretty sure you have all used #[derive] macros for Debug, Clone, Serialise, etc. But did you know you can write your own? Why would that be useful?
While procedural macros can be a bit intimidating at first, they are super powerful.
Let's make them simpler 🧵👇
ICE: github.com/rust-lang/ru...
ICE: github.com/rust-lang/ru...
rustc nerds assemble? (cf the Shape struct, ValueVTable, and the shapely-derive implementation, or simply the Vec
github.com/bearcove/sha...
rustc nerds assemble? (cf the Shape struct, ValueVTable, and the shapely-derive implementation, or simply the Vec
github.com/bearcove/sha...
"Despite their size, and only 32 bits of sustenance, the tiny newtypes manage to carry more than 100 times their weight in attributes back to the nest..."
"Despite their size, and only 32 bits of sustenance, the tiny newtypes manage to carry more than 100 times their weight in attributes back to the nest..."