Function rust_enum_derive::process [] [src]

pub fn process(
    file_path_in: Option<&PathBuf>,
    file_path_out: Option<&PathBuf>,
    file_args: &FileArgs
) -> Result<()>

This is the function that you call to process one file (Enum) worth of data.

  • file_path_in - The file input path to read from (or stdin if None)
  • file_path_out - The file output path to write to (or stdout from None)
  • file_argsfile_args - The arguments for how to process the input