Docs.rs
  • pastel-0.10.0
    • pastel 0.10.0
    • Permalink
    • Docs.rs crate page
    • MIT/Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • sharkdp
    • Dependencies
      • atty ^0.2 normal
      • clap ^3 normal
      • nom ^7.1.3 normal
      • once_cell ^1.18.0 normal
      • output_vt100 ^0.1 normal
      • rand ^0.8 normal
      • regex ^1.10 normal
      • approx ^0.5.0 dev
      • assert_cmd ^2.0.13 dev
      • criterion ^0.5 dev
      • rand_xoshiro ^0.6.0 dev
      • clap ^3 build
      • clap_complete ^3 build
      • once_cell ^1.18.0 build
      • output_vt100 ^0.1 build
    • Versions
    • 38.32% 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

pastel0.10.0

Crate Items

  • Structs
  • Enums
  • Statics
  • Traits
  • Functions

List of all items

Structs

  • CMYK
  • Color
  • ColorScale
  • Fraction
  • HSLA
  • HSVA
  • LCh
  • LMS
  • Lab
  • OkLab
  • RGBA
  • XYZ
  • ansi::Brush
  • ansi::Style
  • ansi::UnknownColorModeError
  • distinct::DistanceResult
  • distinct::IterationStatistics
  • distinct::SimulatedAnnealing
  • distinct::SimulationParameters
  • named::NamedColor
  • random::strategies::UniformGray
  • random::strategies::UniformHueLCh
  • random::strategies::UniformRGB
  • random::strategies::Vivid

Enums

  • ColorblindnessType
  • Format
  • ansi::Mode
  • ansi::Stream
  • distinct::DistanceMetric
  • distinct::OptimizationMode
  • distinct::OptimizationTarget

Traits

  • ansi::AnsiColor
  • ansi::ToAnsiStyle
  • colorspace::ColorSpace
  • random::RandomizationStrategy

Functions

  • ansi::get_colormode
  • delta_e::cie76
  • delta_e::ciede2000
  • distinct::distinct_colors
  • distinct::rearrange_sequence
  • parser::parse_color

Statics

  • named::NAMED_COLORS