Crate rustfmt[−][src]
Modules
Inspection and manipulation of the process’s environment.
Traits, helpers, and type definitions for core I/O functionality.
Macros
Inspects an environment variable at compile time.
Construct an ad-hoc error from a string or existing non-anyhow error
value.
Structs
A reference to an open file on the filesystem.
A set of lines in files.
A builder for FormatReportFormatter.
Parsed command line options.
The result of checking command line arguments. Contains a vector of matches and a vector of free strings.
A description of the options that a program can handle.
A session is a run of rustfmt across a single or multiple inputs.
Enums
Defines the name of an input - either a file or stdin.
Arguments to --help
Rustfmt operations.
Rustfmt operations errors.
Constants
Traits
Maps client-supplied options to Rustfmt’s internals, mostly overriding values in a config with values from the command line.
Parse a value from a string
The Read trait allows for reading bytes from a source.
A trait for objects which are byte-oriented sinks.
Functions
Loads a config by checking the client-supplied options and if appropriate, the file system (including searching the file system for overrides).
Constructs a new handle to the standard output of the current process.
Type Definitions
Result<T, Error>