pub enum BracePosition {
Maintain,
SameLine,
NextLine,
SameLineUnlessHanging,
}
Expand description
Where to place the opening brace.
Variants
Maintain
Maintains the brace being on the next line or the same line.
SameLine
Forces the brace to be on the same line.
NextLine
Forces the brace to be on the next line.
SameLineUnlessHanging
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
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more