Docs.rs
nitrite_vector-0.4.2
nitrite_vector 0.4.2
Docs.rs crate page
Apache-2.0
02 July 2026
Links
Repository
crates.io
Source
Owners
anidotnet
Dependencies
bincode ^2.0
normal
half ^2
normal
log ^0.4
normal
memmap2 ^0.9
normal
nitrite ^0.4.2
normal
parking_lot ^0.12
normal
rand ^0.8
normal
rustc-hash ^2
normal
serde ^1.0
normal
thiserror ^2.0
normal
wide ^0.7
normal
criterion ^0.8
dev
env_logger ^0.11
dev
tempfile ^3.15
dev
Versions
92.34%
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
normalize
nitrite_
vector
0.4.2
In nitrite_
vector::
distance
nitrite_vector
::
distance
Function
normalize
Copy item path
Source
pub fn normalize(v: &mut [
f32
])
Expand description
L2-normalizes a vector in place. A zero vector is left unchanged.