rerun::native_viewer

Function show

Source
pub fn show(main_thread_token: MainThreadToken, msgs: Vec<LogMsg>) -> Result
Expand description

Starts a Rerun viewer to visualize the contents of a given array of messages. The method will return when the viewer is closed.

⚠️ This function must be called from the main thread since some platforms require that their UI runs on the main thread! ⚠️