{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreibbfj6h7pwrqzcphelrqlr4yvybdubmn5hyefdf7krtmzlsnunip4",
    "uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mljqe5gvp3j2"
  },
  "path": "/t/interiorassign-trait-a-b/24291#post_17",
  "publishedAt": "2026-05-10T20:26:09.000Z",
  "site": "https://internals.rust-lang.org",
  "tags": [
    "properties"
  ],
  "textContent": "steffahn:\n\n> `*data.ref_cell.borrow_mut() = Some(new_value);`\n\nA better example might be `Cell`, since it doesn't let you do that. I imagine this feature coming into play whenever you have a type that doesn't want to hand out references to its interior but still wants to allow you to mutate it. C# properties are a similar thing (and maybe something closer to those would be a better idea, idk).",
  "title": "InteriorAssign trait { a := b }"
}