Docs.rs
spl-pod-0.3.0
spl-pod 0.3.0
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
anza-team
Dependencies
base64 ^0.22.1
normal
optional
borsh ^1.5.1
normal
optional
bytemuck ^1.16.1
normal
bytemuck_derive ^1.7.0
normal
serde ^1.0.203
normal
optional
solana-program ^2.0.0
normal
solana-zk-token-sdk ^2.0.0
normal
spl-program-error ^0.5.0
normal
serde_json ^1.0.117
dev
Versions
85.71%
of the crate is documented
Go to latest version
Platform
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
spl_pod
0.3.0
In spl_pod::bytemuck
Function
spl_pod
::
bytemuck
::
pod_bytes_of
Copy item path
source
·
[
−
]
pub fn pod_bytes_of<T:
Pod
>(t:
&T
) -> &[
u8
]
ⓘ
Expand description
Convert a
Pod
into a slice of bytes (zero copy)