Docs.rs
spl-pod-0.1.0
spl-pod 0.1.0
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
anza-team
Dependencies
base64 ^0.21.2
normal
borsh ^0.10
normal
bytemuck ^1.13.1
normal
serde ^1.0.183
normal
solana-program ^1.16.3
normal
solana-zk-token-sdk ^1.16.3
normal
spl-program-error ^0.3
normal
serde_json ^1.0.105
dev
Versions
100%
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
☰
In spl_pod::bytemuck
?
Function
spl_pod
::
bytemuck
::
pod_bytes_of
source
·
[
−
]
pub fn pod_bytes_of<T:
Pod
>(t:
&T
) -> &[
u8
]
ⓘ
Expand description
Convert a
Pod
into a slice of bytes (zero copy)