Crate atruct

Crate atruct 

Source

Macros§

atruct
inspired by structx (that doesn’t work now), atruct! macro enables to use variables of anonymous structs like

Attribute Macros§

Return
We usually return more than 1 values from a function. In such situations, Rust supports only tupple as a way to bundle returned values. But it’s sometimes a bit anoying: when we’d like to name freely to each field, not 0, 1, 2, …
withReturn
Actually, #[Return] itself is NOT available in impl block for a technical reason. #[withReturn] enables this: