fn gather_monitors<R: Runtime>(app: &AppHandle<R>) -> Option<Vec<MonitorFacts>>Expand description
Describe every attached monitor, or None if the windowing main thread
could not be asked — see crate::display::on_main_thread for why the
read has to happen there and why calling it from either of this function’s
callers (an async command task and the main-thread setup hook) is safe.
None is kept distinct from Some(vec![]) all the way to the rendered
report: “we could not ask” and “there are no monitors” are different
facts, and conflating them sends the reader after the wrong bug.