Docs.rs
batbox-preferences-0.16.0
batbox-preferences 0.16.0
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
kuviman
Dependencies
log ^0.4
normal
serde ^1
normal
serde_json ^1
normal
directories ^5
normal
web-sys ^0.3
normal
Versions
100%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Crate
batbox_preferences
batbox_
preferences
0.16.0
All Items
Crate Items
Functions
Crates
batbox_preferences
Crate
batbox_preferences
Copy item path
Settings
Help
Summary
Source
Expand description
Saving/loading preferences (small amounts of user data)
Web implementation uses
local storage
Functions
§
base_
path
Base path where preferences are going to be saved/loaded from
load
Load value for given key
save
Save given value for given key