Skip to main content

Module mounts

Module mounts 

Source
Expand description

The mount contract across the crates enabled (ADR 0013): every component and host declared, in docs/hosts.md’s order, the page written from them, and MountsPlugin, which declares the components and hosts of the component crates to the application so that AppHandle::where_can and the mounts collector know them.

let page = egui_pop::mounts::page();
assert!(page.starts_with("# Hosts and components"));
assert!(egui_pop::mounts::components().iter().any(|m| m.id == "jobs-centre"));

Structs§

MountsPlugin
Declares the components and hosts of the component crates enabled (the viewport, the views, the editors) to the application.

Functions§

components
Every component of the enabled crates: the viewport’s, the views’, the editors’, then egui-pop-api’s and egui-pop-core’s.
hosts
Every host, in docs/hosts.md’s column order: egui-pop-api’s, the viewport’s overlays before the gallery’s story.
page
docs/hosts.md, as the declarations write it.