Docs.rs
mindtree_utils-0.4.0
mindtree_utils 0.4.0
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
mitchmindtree
Dependencies
num ^0.1.27
time ^0.1.32
rand ^0.3.11
Versions
Platform
i686-apple-darwin
i686-pc-windows-gnu
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-gnu
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
utils
::
math
Function
utils
::
math
::
wrap
[
−
]
[src]
pub fn wrap<F:
Float
>(val: F, from: F, to: F) -> F
Wrap value to a range.