Module app_structure

Source

Structs§

AppDirModules
A final route in the app directory.
AppPageLoaderTree
CollectedRootParams
This is a transparent value type wrapping [FxIndexSet<RcStr>].
DirectoryTree
Entrypoints
This is a transparent value type wrapping [FxIndexMap<AppPath,Entrypoint>].
FileSystemPathVec
This is a transparent value type wrapping Vec<FileSystemPath>.
GlobalMetadata
Metadata files that can be placed in the root of the app directory.
Metadata
Metadata file that can be placed in any segment of the app directory.
OptionAppDir
This is a transparent value type wrapping Option<FileSystemPath>.
RootParamVecOption
This is a transparent value type wrapping Option<Vec<RcStr>>.

Enums§

Entrypoint
MetadataItem
A single metadata file.
MetadataWithAltItem
A single metadata file plus an optional “alt” text file.

Functions§

collect_root_params
find_app_dir
Finds and returns the DirectoryTree of the app directory if existing.
get_entrypoints
get_global_metadata
Returns the global metadata for an app directory.
get_metadata_route_name