Docs.rs
punch-memory-1.2.0
punch-memory 1.2.0
Permalink
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
humancto
Dependencies
chrono ^0.4
normal
flate2 ^1
normal
punch-types ^1.0.0
normal
rusqlite ^0.32
normal
serde ^1
normal
serde_json ^1
normal
sha2 ^0.10
normal
thiserror ^2
normal
tokio ^1.44
normal
tracing ^0.1
normal
uuid ^1
normal
tempfile ^3
dev
tokio ^1.44
dev
Versions
69.33%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
vec_to_bytes
punch_
memory
1.2.0
In punch_
memory::
embeddings
punch_memory
::
embeddings
Function
vec_
to_
bytes
Copy item path
Source
pub fn vec_to_bytes(vec: &[
f32
]) ->
Vec
<
u8
>
ⓘ
Expand description
Serialize a
Vec<f32>
to little-endian bytes.