| Crates.io | fairyvoid-with |
| lib.rs | fairyvoid-with |
| version | 1.0.0 |
| created_at | 2025-09-03 21:21:10.246562+00 |
| updated_at | 2025-09-03 21:21:10.246562+00 |
| description | With literal |
| homepage | |
| repository | https://github.com/fairyvoid/with.rs |
| max_upload_size | |
| id | 1823289 |
| size | 6,153 |
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 fairyvoid_with::with;
let y = 0.0;
let o: S = with! { x: 0.0, y, .. };