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
rgb_to_float
itools_
gui
0.0.1
rgb_
to_
float
Sections
参数
返回值
In crate itools_
gui
itools_gui
Function
rgb_
to_
float
Copy item path
Source
pub fn rgb_to_float(value:
u8
) ->
f32
Expand description
工具函数相关功能 从 0-255 范围的 RGB 值转换为 0-1 范围的浮点数
§
参数
value
: 0-255 范围的 RGB 值
§
返回值
0-1 范围的浮点数