Module genconv

Module genconv 

Source
Expand description

Generic text conversions. General conversions helpers for the current Visual selection.

Provides a namespaced [Dictionary] exposing selection conversion functionality (RGB to HEX and date/time to chrono parse code).

Structsยง

ConversionOptionIter ๐Ÿ”’
An iterator over the variants of ConversionOption

Enumsยง

ConversionOption ๐Ÿ”’
Enum representing available conversion options.

Functionsยง

convert_selection ๐Ÿ”’
Converts the current visual selection using a user-chosen conversion option.
date_time_str_to_chrono_parse_from_str ๐Ÿ”’
Converts a date/time string to the appropriate chrono parse_from_str code snippet.
dict
Namespaced dictionary of general conversion helpers.
rgb_to_hex ๐Ÿ”’
Converts an RGB string to a hexadecimal color code.
unix_timestamp_to_iso_8601_date_time ๐Ÿ”’