ferritin_pymol::pymolparsing

Module colors

source
Expand description

This module provides color-related functionality for PyMOL parsing.

It includes representations for colors with red, green, and blue components, as well as a predefined set of colors used in PyMOL.

§Examples

use ferritin_pymol::pymolparsing::colors::COLOR_SET;

// white is the first color
// pymol uses indexes which is why this is stored as a vector.
// could eventually be refactored to enums + methods.

let white = COLOR_SET.get(0).unwrap();

Structs§

Enums§

Statics§