Function color_spantrace::set_theme
source · pub fn set_theme(theme: Theme) -> Result<(), InstallThemeError>
Expand description
Sets the global theme.
§Details
This can only be set once and otherwise fails.
Note: colorize
sets the global theme implicitly, if it was not set already. So calling colorize
and then set_theme
fails