Docs.rs
scribe-core-0.5.0
scribe-core 0.5.0
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
githubcustomerserviceistrash
Dependencies
aho-corasick ^1.1
normal
anyhow ^1.0
normal
async-trait ^0.1
normal
dashmap ^5.5
normal
globset ^0.4
normal
ignore ^0.4
normal
indexmap ^2.0
normal
memchr ^2.6
normal
once_cell ^1.19
normal
parking_lot ^0.12
normal
scribe-scaling ^0.5.0
normal
optional
serde ^1.0
normal
serde_json ^1.0
normal
thiserror ^1.0
normal
tiktoken-rs ^0.7.0
normal
tokio ^1.0
normal
walkdir ^2.4
normal
criterion ^0.5
dev
semver ^1.0
dev
tempfile ^3.8
dev
tokio-test ^0.4
dev
Versions
81.23%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
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
clamp
scribe_
core
0.5.0
In scribe_
core::
utils::
math
scribe_core
::
utils
::
math
Function
clamp
Copy item path
Source
pub fn clamp(value:
f64
, min:
f64
, max:
f64
) ->
f64
Expand description
Clamp a value between min and max