Enum rustfmt_nightly::NewlineStyle [−][src]
pub enum NewlineStyle {
Auto,
Windows,
Unix,
Native,
}Variants
Auto-detect based on the raw source input.
Force CRLF (\r\n).
Force CR (`\n).
\r\n in Windows, `\n`` on other platforms.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for NewlineStyleimpl Send for NewlineStyleimpl Sync for NewlineStyleimpl Unpin for NewlineStyleimpl UnwindSafe for NewlineStyleBlanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte