Crate bevy_prefs_lite

Crate bevy_prefs_lite 

Source

Modules§

prefs_json
prefs_toml

Structs§

AutosavePrefsPlugin
Plugin which automatically saves preferences when they change. This uses a delay timer to prevent saving preferences too frequently. Preferences will be automatically saved 1 second after they have been marked as changed.
Preferences
Resource which represents the place where preferences files are stored. This can be either a filesystem directory (when working on a desktop platform) or a virtual directory such as web LocalStorage.
StartAutosaveTimer
A Command which marks preferences as changed, and starts the countdown timer for saving them.
StoreFs
PreferencesStore which uses the local filesystem. Preferences will be located in the OS-specific directory for user preferences.

Enums§

SavePreferences
A Command which saves preferences to disk. Actual FS operations happen in another thread.
SavePreferencesSync
A Command which saves preferences to disk. This blocks the command queue until saving is complete.

Type Aliases§

PreferencesFile
PreferencesFileContent
PreferencesGroup
PreferencesGroupMut