[][src]Function uneval::funcs::to_out_dir

pub fn to_out_dir(
    value: impl Serialize,
    file_name: impl AsRef<str>
) -> Result<(), UnevalError>

Convenience wrapper around to_file.

This function finds out where the output directory is by looking at OUT_DIR environment variable and creates the file with the provided name there.