Enum dprint_plugin_typescript::configuration::BracePosition [−][src]
pub enum BracePosition { Maintain, SameLine, NextLine, SameLineUnlessHanging, }
Expand description
Where to place the opening brace.
Variants
Maintains the brace being on the next line or the same line.
Forces the brace to be on the same line.
Forces the brace to be on the next line.
Forces the brace to be on the next line if the same line is hanging, but otherwise uses the same line.
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 BracePosition
impl Send for BracePosition
impl Sync for BracePosition
impl Unpin for BracePosition
impl UnwindSafe for BracePosition
Blanket Implementations
Mutably borrows from an owned value. Read more