Module inferno::flamegraph::color
source · Expand description
Color palettes and options for flame graph generation.
Structs§
- Mapping of the association between a function name and the color used when drawing information from this function.
SearchColor::default()
isrgb(230,0,230)
.
Enums§
- A flame graph background color.
- A plain color palette in which the color is not chosen based on function semantics.
- A semantic color palette in which different hues are used to signify semantic aspects of different function names (kernel functions, JIT functions, etc.).
- A flame graph color palette.
StrokeColor::default()
isNone
.
Functions§
- Parses a string as a hex color, returning None if it is an invalid color
Type Aliases§
- A re-export of
RGB8
from thergb
crate.