# Rust 2030 Christmas list: Inout methods

**URL:** <https://internals.rust-lang.org/t/rust-2030-christmas-list-inout-methods/15944>\
**Category:** language design\
**Created:** [January 10, 2022, 4:46pm UTC](https://internals.rust-lang.org/t/rust-2030-christmas-list-inout-methods/15944 "2022-01-10T16:46:40Z")\
**Posts on this page:** 1\
**Showing post:** 22

<div class="post-metadata">

**Author:** ![mathstuf](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@mathstuf](https://internals.rust-lang.org/u/mathstuf)\
**Post date:** [January 21, 2022, 12:40pm UTC](https://internals.rust-lang.org/t/rust-2030-christmas-list-inout-methods/15944/22 "2022-01-21T12:40:56Z")

</div>

[This post](https://internals.rust-lang.org/t/pre-rfc-revamped-const-trait-impl-aka-rfc-2632/15192/79) gave me the idea that maybe it could be spelled `~mut` instead of `inout`? Instead of `C: constness`, we have `M: mutability` which applies to all `~mut` uses within the function/struct/etc.

I wonder if this would allow one to write `Iter` and `IterMut` impls with a single syntax in some way?

---

_[View the full topic](https://internals.rust-lang.org/t/rust-2030-christmas-list-inout-methods/15944)._
