Docs.rs
itools-gui-0.0.1
itools-gui 0.0.1
Permalink
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
fqq
Dependencies
itools-config ^0.0.1
normal
itools-localization ^0.0.1
normal
oak-json ^0.0.9
normal
serde ^1.0.228
normal
tracing ^0.1.44
normal
Versions
100%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
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
Skip to main content
clamp
itools_
gui
0.0.1
clamp
Sections
参数
返回值
In crate itools_
gui
itools_gui
Function
clamp
Copy item path
Source
pub fn clamp(value:
f32
, min:
f32
, max:
f32
) ->
f32
Expand description
工具函数相关功能 限制值在指定范围内
§
参数
value
: 要限制的值
min
: 最小值
max
: 最大值
§
返回值
限制后的值