Docs.rs
spl-pod-0.5.0
spl-pod 0.5.0
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
anza-team
Dependencies
borsh ^1.5.1
normal
optional
bytemuck ^1.19.0
normal
bytemuck_derive ^1.8.0
normal
num-derive ^0.4
normal
num-traits ^0.2
normal
serde ^1.0.214
normal
optional
solana-decode-error ^2.1.0
normal
solana-msg ^2.1.0
normal
solana-program-error ^2.1.0
normal
solana-program-option ^2.1.0
normal
solana-pubkey ^2.1.0
normal
solana-zk-sdk ^2.1.0
normal
thiserror ^1.0
normal
base64 ^0.22.1
dev
serde_json ^1.0.132
dev
Versions
86.79%
of the crate is documented
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.5.0
In spl_
pod::
bytemuck
spl_pod
::
bytemuck
Function
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)