Implicit struct initializer for Rust based on this Rust post.
In the future, this literal may allow omitting the ..
component if in the future Rust supports a way to infer the struct name.
- Requires a base object: either
..
forDefault::default()
or..o
foro
use with_literal::with;
let y = 0.0;
let o: S = with! { x: 0.0, y, .. };