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
sourceimpl Clone for NextControlFlowPosition
impl Clone for NextControlFlowPosition
sourcefn clone(&self) -> NextControlFlowPosition
fn clone(&self) -> NextControlFlowPosition
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'de> Deserialize<'de> for NextControlFlowPosition
impl<'de> Deserialize<'de> for NextControlFlowPosition
sourcefn 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
sourceimpl FromStr for NextControlFlowPosition
impl FromStr for NextControlFlowPosition
sourceimpl PartialEq<NextControlFlowPosition> for NextControlFlowPosition
impl PartialEq<NextControlFlowPosition> for NextControlFlowPosition
sourcefn eq(&self, other: &NextControlFlowPosition) -> bool
fn eq(&self, other: &NextControlFlowPosition) -> bool
sourceimpl Serialize for NextControlFlowPosition
impl Serialize for NextControlFlowPosition
sourceimpl ToString for NextControlFlowPosition
impl ToString for NextControlFlowPosition
impl Copy for NextControlFlowPosition
impl StructuralPartialEq for NextControlFlowPosition
Auto Trait Implementations
impl RefUnwindSafe for NextControlFlowPosition
impl Send for NextControlFlowPosition
impl Sync for NextControlFlowPosition
impl Unpin for NextControlFlowPosition
impl UnwindSafe for NextControlFlowPosition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more