Enum stylua_lib::LineEndings [−][src]
pub enum LineEndings {
Unix,
Windows,
}
Expand description
The type of line endings to use at the end of a line
Variants
Unix Line Endings (LF) - \n
Windows Line Endings (CRLF) - \r\n
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 LineEndings
impl Send for LineEndings
impl Sync for LineEndings
impl Unpin for LineEndings
impl UnwindSafe for LineEndings
Blanket Implementations
Mutably borrows from an owned value. Read more