You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The layout should therefore be the same as if it were T itself
I am not the original author of the library, so this might not be correct. In practice, however, this is how it works with current versions of the Rust compiler.
Is there a guarantee that
Aligned<A, T>
has the same memory representation asT
, and is thus sound to transmute toT
?The text was updated successfully, but these errors were encountered: