pub enum OperatorPosition {
Maintain,
SameLine,
NextLine,
}
Expand description
Where to place the operator for expressions that span multiple lines.
Variants
Maintain
Maintains the operator being on the next line or the same line.
SameLine
Forces the operator to be on the same line.
NextLine
Forces the operator to be on the next 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 OperatorPosition
impl Send for OperatorPosition
impl Sync for OperatorPosition
impl Unpin for OperatorPosition
impl UnwindSafe for OperatorPosition
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