Docs.rs
bytemuck-1.13.1
bytemuck 1.13.1
Docs.rs crate page
Zlib OR Apache-2.0 OR MIT
Links
Repository
crates.io
Source
Owners
Lokathor
github:rust-bus:maintainers
Dependencies
bytemuck_derive ^1.4
normal
Versions
100%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
In bytemuck
?
Function
bytemuck
::
cast
source
·
[
−
]
pub fn cast<A:
NoUninit
, B:
AnyBitPattern
>(a: A) -> B
Expand description
Cast
T
into
U
Panics
This is like
try_cast
, but will panic on a size mismatch.