[][src]Function color_spantrace::set_theme

pub fn set_theme(theme: Theme) -> Result<(), InstallThemeError>

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