Module rs::data::loading

source · []
Expand description

Loading layout files

Enums

DataSource 🔒

Helper for determining where to look up the layout.

Constants

Functions

Returns ordered names treating name as the base name, ignoring any + inside.

Returns the directory string where the layout should be looked up, including the slash.

Returns names accounting for any + in the name, including the fallback to the default layout.

Returns possible sources, with first as the most preferred one. Trying order: native lang of the right kind, native base, fallback lang of the right kind, fallback base

Returns an iterator over all fallback paths.

Type Definitions

LayoutPath 🔒

Includes the subdirectory before the forward slash.