| Crates.io | hydroperx-with |
| lib.rs | hydroperx-with |
| version | 1.0.0 |
| created_at | 2025-09-01 17:22:59.166338+00 |
| updated_at | 2025-09-01 17:22:59.166338+00 |
| description | With literal |
| homepage | |
| repository | https://github.com/hydroperx/with.rs |
| max_upload_size | |
| id | 1819949 |
| size | 6,183 |
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.
.. for Default::default() or ..o for ouse hydroperx_with::with;
let y = 0.0;
let o: S = with! { x: 0.0, y, .. };