pub enum NextControlFlowPosition {
Maintain,
SameLine,
NextLine,
}
Expand description
Where to place the next control flow within a control flow statement.
Variants§
Maintain
Maintains the next control flow being on the next line or the same line.
SameLine
Forces the next control flow to be on the same line.
NextLine
Forces the next control flow to be on the next line.
Trait Implementations§
source§impl Clone for NextControlFlowPosition
impl Clone for NextControlFlowPosition
source§fn clone(&self) -> NextControlFlowPosition
fn clone(&self) -> NextControlFlowPosition
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'de> Deserialize<'de> for NextControlFlowPosition
impl<'de> Deserialize<'de> for NextControlFlowPosition
source§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
source§impl FromStr for NextControlFlowPosition
impl FromStr for NextControlFlowPosition
source§impl PartialEq<NextControlFlowPosition> for NextControlFlowPosition
impl PartialEq<NextControlFlowPosition> for NextControlFlowPosition
source§fn eq(&self, other: &NextControlFlowPosition) -> bool
fn eq(&self, other: &NextControlFlowPosition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.