Docs.rs
shapdf-0.2.1
shapdf 0.2.1
Permalink
Docs.rs crate page
GPL-3.0-or-later
Links
Repository
crates.io
Source
Owners
Teddy-van-Jerry
Dependencies
clap ^4.5
normal
flate2 ^1.0
normal
optional
once_cell ^1.20
normal
wasm-bindgen ^0.2
normal
optional
Versions
20.48%
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
Color
shapdf
0.2.1
Color
Required Methods
to_rgb
Implementors
In crate shapdf
shapdf
Trait
Color
Copy item path
Source
pub trait Color { // Required method fn
to_rgb
(&self) -> (
f64
,
f64
,
f64
); }
Expand description
Color trait for units.
Required Methods
§
Source
fn
to_rgb
(&self) -> (
f64
,
f64
,
f64
)
Implementors
§
Source
§
impl
Color
for
Gray
Source
§
impl
Color
for
NamedColor
Source
§
impl
Color
for
RGB
Source
§
impl
Color
for
Rgb