Docs.rs
bytemuck-1.13.1
bytemuck 1.13.1
Permalink
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
1.13.1
1.13.0
1.12.4
1.12.3
1.12.2
1.12.1
1.12.0
1.11.0
1.10.0
1.9.1
1.9.0
1.8.0
1.7.3
1.7.2
1.7.1
1.7.0
1.6.3
1.6.2
1.6.1
1.6.0
1.5.1
1.5.0
1.4.1
1.4.0
1.3.1
1.3.0
1.3.0-alpha.0
1.2.0
1.2.0-alpha.1
1.1.0
1.0.1
1.0.0
0.1.2
0.1.1
0.1.0
100%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
i686-unknown-linux-gnu
x86_64-apple-darwin
i686-pc-windows-msvc
x86_64-pc-windows-msvc
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.