destruct!() { /* proc-macro */ }Expand description
Expand a pattern destruct!{let {x, y} = foo}
This pattern is meant to be analogous to let FooBar {x, y} = foo, except with an anonymous struct
ยงMissing features
- ref
- mut
- any kind of
let else. - inner patterns
- renamings
.._- default values