Function set_backtrace_style

fn set_backtrace_style(style: BacktraceStyle)

Configures whether the default panic hook will capture and display a backtrace.

The default value for this setting may be set by the RUST_BACKTRACE environment variable; see the details in get_backtrace_style.