Module nannou::io

source ·
Expand description

An extension of the std::io module. Includes functions for safely saving and loading files from any serializable types, along with functions specifically for working with JSON and TOML.

Enums

  • Errors that might occur when saving a file.

Functions

  • A generic funtion for loading a type from a JSON file.
  • A generic funtion for loading a type from a TOML file.
  • Safely save a file with the given contents, replacing the original if necessary.
  • A generic function for safely saving a serializable type to a JSON file.
  • A generic function for safely saving a serializable type to a TOML file.
  • Attempt to recursively walk the given directory and all its sub-directories.

Type Aliases