Shane Celis on Nostr: TIL in rust you can construct a positional struct using a field struct expression. ...
TIL in rust you can construct a positional struct using a field struct expression. The indices can even be in arbitrary order. #rustlang
Published at
2024-03-24 11:03:44Event JSON
{
"id": "d64c710497dbd00e99ceae6dc2274f4e489c4572a9b427d268326e3383dea0ca",
"pubkey": "f93e59dd814c9044fb46ce81b53227818c9589e4797d801f439f84dac9619b7b",
"created_at": 1711278224,
"kind": 1,
"tags": [
[
"t",
"rustlang"
],
[
"proxy",
"https://mastodon.gamedev.place/users/shanecelis/statuses/112150329710246841",
"activitypub"
]
],
"content": "TIL in rust you can construct a positional struct using a field struct expression. The indices can even be in arbitrary order. #rustlang\n\nhttps://cdn.masto.host/mastodongamedevplace/media_attachments/files/112/150/329/416/624/317/original/46a74dee89922ab5.png",
"sig": "81131fe9bf2d887c21764444b1a9d965abae9bef26d6be1e878d0d176f4033f759607aa04081cf7b6e2e8ee6f0d645db4b27364086948007c1ee661ed12a2166"
}