Enum dprint_core::configuration::NewLineKind [−][src]
pub enum NewLineKind {
Auto,
LineFeed,
CarriageReturnLineFeed,
System,
}Variants
Decide which newline kind to use based on the last newline in the file.
Use slash n new lines.
Use slash r slash n new lines.
Use the system standard (ex. crlf on Windows)
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for NewLineKindimpl Send for NewLineKindimpl Sync for NewLineKindimpl Unpin for NewLineKindimpl UnwindSafe for NewLineKindBlanket Implementations
Mutably borrows from an owned value. Read more