We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZeroInit
bytemuck::Zeroable
r3_core::utils::ZeroInit should be replaced by bytemuck::Zeroable. The latter is derivable (which helps us remove some unsafe impls) and has a better Rust ecosystem compatibility.
r3_core::utils::ZeroInit
unsafe
Zeroable is missing the following implementations:
Zeroable
core::atomic::Atomic{Bool,{U,I}{8,16,32,64,size},Ptr<impl Sized>}
Atomic*
Option<fn(Args...) -> R>
Option<&[mut ]_>
UnsafeCell<impl Zeroable>
[impl Zeroable + Sized]
Sized
The text was updated successfully, but these errors were encountered:
Merged in b6de1c0
Sorry, something went wrong.
bitflags
^2
yvt
No branches or pull requests
r3_core::utils::ZeroInit
should be replaced bybytemuck::Zeroable
. The latter is derivable (which helps us remove someunsafe
impls) and has a better Rust ecosystem compatibility.Zeroable
is missing the following implementations:core::atomic::Atomic{Bool,{U,I}{8,16,32,64,size},Ptr<impl Sized>}
(Zeroable should be implemented forAtomic*
Lokathor/bytemuck#74)Option<fn(Args...) -> R>
Option<&[mut ]_>
UnsafeCell<impl Zeroable>
(ImplementZeroable
onUnsafeCell<impl Zeroable>
Lokathor/bytemuck#148)[impl Zeroable + Sized]
Zeroable
requiresSized
The text was updated successfully, but these errors were encountered: