Need workaround for Rust memory model to read potentially padding bytes of the enum
nazar-pc
·
2026-05-11
·
via The Rust Programming Language Forum - Latest topics
I have an enum with variants of different size. I'd really like (for performance reasons in very hot code) to…
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。