[][src]Function gestalt::load

pub fn load<T>(
    location: Location,
    appname: &str,
    profile: &str
) -> Result<T, SaveError> where
    T: Deserialize<'de>, 

Load some data from the given profile using Serde

Different platforms may have different save locations: on the Web, data is saved in local storage, on the desktop, it is stored in some appropriate home-directory folder.

See save for an example of saving and then loading some data.