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