Module newline_
style
rustfmt_
nightly
1.84.0-dev
Module newline_
style
Module Items
Enums
Constants
Functions
In rustfmt_
nightly::
formatting
Modules
generated
newline_style
Structs
FormatContext
FormatLines
FormattingError
ReportedErrors
Enums
Timer
Traits
FormatHandler
Functions
echo_back_stdin
format_lines
format_project
should_emit_verbose
should_skip_module
Type Aliases
FileRecord
FormatErrorMap
SourceFile
rustfmt_nightly
::
formatting
Module
newline_style
Copy item path
Settings
Help
Summary
Source
Enums
§
Effective
Newline
Style
🔒
Constants
§
CARRIAGE_
RETURN
🔒
LINE_
FEED
🔒
UNIX_
NEWLINE
🔒
WINDOWS_
NEWLINE
🔒
Functions
§
apply_
newline_
style
🔒
Apply this newline style to the formatted text. When the style is set to
Auto
, the
raw_input_text
is used to detect the existing line endings.
auto_
detect_
newline_
style
🔒
convert_
to_
unix_
newlines
🔒
convert_
to_
windows_
newlines
🔒
effective_
newline_
style
🔒
native_
newline_
style
🔒