[][src]Module dqcsim::common::util

Utility functions that don't belong elsewhere.

Functions

friendly_enum_parse

Parses a string representing an enum variant into the variant.

friendly_enumerate

Turns a string list into its natural language equivalent.

friendly_name

Splits a CamelCase name into space-separated lowercase words.

log_2

Returns the log2 for a usize as an Option.