# Re: \[PATCH v3 05/10\] rust: io: add static \`cast()\` method for views

- From: Alexandre Courbot \<acourbot@nvidia.com\>
- Date: 2026-09-06 15:27:30 
- List: nova-gpu
- Page: https://ratatoskr.run/nova-gpu/2026/09/17520971
- Thread: https://ratatoskr.run/rust-for-linux/2026/08/17468599/t.md

```text
On Thu Aug 27, 2026 at 5:51 PM JST, Eliot Courtney wrote:
> From: Gary Guo <gary@garyguo.net>
>
> Add a compile-time checked variant of `try_cast()` using the minimum size
> and alignment information.
>
> Signed-off-by: Gary Guo <gary@garyguo.net>
> Link: https://patch.msgid.link/20260805-typed_register-v2-1-c3ca142220a0@garyguo.net
> [ecourtney: fix the doc example type and doc grammar per v2 review]
> Signed-off-by: Eliot Courtney <redacted>

So I am basically ready to merge this series, but need an ack on this
one patch; I/O maintainers, does this look good to you?
```
