pub trait PlaceProvider:
Debug
+ Send
+ Sync {
// Required methods
fn id(&self) -> &str;
fn sections(&self) -> Vec<PlaceSection>;
}Expand description
An application’s sections of places (PlaceProviders::register).
Asked each time a picker or a panel is drawn: it answers from what it
holds (a device watch’s list, a history kept in memory), never reading a
disk or a network there.
Required Methods§
Sourcefn sections(&self) -> Vec<PlaceSection>
fn sections(&self) -> Vec<PlaceSection>
Its sections now, in the order shown.