Docs.rs
wezterm-color-types-0.3.0
wezterm-color-types 0.3.0
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
wez
Dependencies
csscolorparser ^0.6
normal
deltae ^0.3
normal
lazy_static ^1.4
normal
serde ^1.0
normal
optional
wezterm-dynamic ^0.2
normal
Versions
53.06%
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
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
wezterm_
color_
types
0.3.0
All Items
Crate Items
Structs
Functions
Crate
wezterm_color_types
Copy item path
Source
Structs
§
Linear
Rgba
A pixel value encoded as linear RGBA values in f32 format (range: 0.0-1.0)
Srgba
Pixel
A pixel holding SRGBA32 data in big endian format
Srgba
Tuple
A pixel value encoded as SRGBA RGBA values in f32 format (range: 0.0-1.0)
Functions
§
linear_
u8_
to_
srgb8