Crate dmntk_common
source ·Expand description
§Common definitions used by components of DMNTK project
Macros§
- Returns a color control string based on ColorMode for specified color number.
- Returns a color control string as defined in ASCII_BG_BLACK based on ColorMode.
- Returns a color control string as defined in ASCII_BG_BLUE based on ColorMode.
- Returns a color control string as defined in ASCII_BG_BRIGHT_BLACK based on ColorMode.
- Returns a color control string as defined in ASCII_BG_BRIGHT_BLUE based on ColorMode.
- Returns a color control string as defined in ASCII_BG_BRIGHT_CYAN based on ColorMode.
- Returns a color control string as defined in ASCII_BG_BRIGHT_GREEN based on ColorMode.
- Returns a color control string as defined in ASCII_BG_BRIGHT_MAGENTA based on ColorMode.
- Returns a color control string as defined in ASCII_BG_BRIGHT_RED based on ColorMode.
- Returns a color control string as defined in ASCII_BG_BRIGHT_WHITE based on ColorMode.
- Returns a color control string as defined in ASCII_BG_BRIGHT_YELLOW based on ColorMode.
- Returns a color control string as defined in ASCII_BG_CYAN based on ColorMode.
- Returns a color control string as defined in ASCII_BG_GREEN based on ColorMode.
- Returns a color control string as defined in ASCII_BG_MAGENTA based on ColorMode.
- Returns a color control string as defined in ASCII_BG_RED based on ColorMode.
- Returns a color control string as defined in ASCII_BG_WHITE based on ColorMode.
- Returns a color control string as defined in ASCII_BG_YELLOW based on ColorMode.
- Returns a color control string as defined in ASCII_BLACK based on ColorMode.
- Returns a color control string as defined in ASCII_BLUE based on ColorMode.
- Returns a color control string as defined in ASCII_BRIGHT_BLACK based on ColorMode.
- Returns a color control string as defined in ASCII_BRIGHT_BLUE based on ColorMode.
- Returns a color control string as defined in ASCII_BRIGHT_CYAN based on ColorMode.
- Returns a color control string as defined in ASCII_BRIGHT_GREEN based on ColorMode.
- Returns a color control string as defined in ASCII_BRIGHT_MAGENTA based on ColorMode.
- Returns a color control string as defined in ASCII_BRIGHT_RED based on ColorMode.
- Returns a color control string as defined in ASCII_BRIGHT_WHITE based on ColorMode.
- Returns a color control string as defined in ASCII_BRIGHT_YELLOW based on ColorMode.
- Returns a color control string as defined in ASCII_CYAN based on ColorMode.
- Returns a color control string as defined in ASCII_GREEN based on ColorMode.
- Returns a color control string as defined in ASCII_MAGENTA based on ColorMode.
- Returns a color control string as defined in ASCII_RESET based on ColorMode.
- Returns a color control string as defined in ASCII_WHITE based on ColorMode.
- Returns a color control string as defined in ASCII_YELLOW based on ColorMode.
Structs§
- Builder for AsciiNode::Leaf.
- Collection of AsciiText segments with associated color control sequence.
- Builder for AsciiLine.
- Builder for AsciiNode::Node.
- Text with associated color control sequence to be displayed in terminal.
- Color palette.
- Error definition used by all components of DMNTK project.
- URI reference used for utilizing
href
attribute.
Enums§
- Types of nodes in the coloured ASCII tree.
- Color mode to switch terminal colouring on and off.
Constants§
- Control sequence for background color black.
- Control sequence for background color blue.
- Control sequence for background color bright black.
- Control sequence for background color bright blue.
- Control sequence for background color bright cyan.
- Control sequence for background color bright green.
- Control sequence for background color bright magenta.
- Control sequence for background color bright red.
- Control sequence for background color bright white.
- Control sequence for background color bright yellow.
- Control sequence for background color cyan.
- Control sequence for background color green.
- Control sequence for background color magenta.
- Control sequence for background color red.
- Control sequence for background color white.
- Control sequence for background color yellow.
- Control sequence for text color black.
- Control sequence for text color blue.
- Control sequence for text color bright black.
- Control sequence for text color bright blue.
- Control sequence for text color bright cyan.
- Control sequence for text color bright green.
- Control sequence for text color bright magenta.
- Control sequence for text color bright red.
- Control sequence for text color bright white.
- Control sequence for text color bright yellow.
- Control sequence for text color cyan.
- Control sequence for text color green.
- Control sequence for text color magenta.
- Control sequence for text color red.
- Control sequence for cancelling the previously set color.
- Control sequence for text color white.
- Control sequence for text color yellow.
Traits§
- Trait for converting a FEEL artifact into its JSON representation.
- Common trait to be implemented by structs defining a specific error.
Functions§
- Returns a string representation of a random UUID v4.
- Converts an URI into its RDNN-like equivalent.
- Writes the tree to provided writer starting from specified node.
- Writes the tree to provided writer starting from specified node with indentation.
Type Aliases§
- Common result type.