pub enum If<'a> {
Space(Space, Row, Col),
Then(Row, Col),
Else(Row, Col),
ElseBranchStart(Row, Col),
Condition(&'a Expr<'a>, Row, Col),
ThenBranch(&'a Expr<'a>, Row, Col),
ElseBranch(&'a Expr<'a>, Row, Col),
IndentCondition(Row, Col),
IndentThen(Row, Col),
IndentThenBranch(Row, Col),
IndentElseBranch(Row, Col),
IndentElse(Row, Col),
}Variants§
Space(Space, Row, Col)
Then(Row, Col)
Else(Row, Col)
ElseBranchStart(Row, Col)
Condition(&'a Expr<'a>, Row, Col)
ThenBranch(&'a Expr<'a>, Row, Col)
ElseBranch(&'a Expr<'a>, Row, Col)
IndentCondition(Row, Col)
IndentThen(Row, Col)
IndentThenBranch(Row, Col)
IndentElseBranch(Row, Col)
IndentElse(Row, Col)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for If<'a>
impl<'a> RefUnwindSafe for If<'a>
impl<'a> Send for If<'a>
impl<'a> Sync for If<'a>
impl<'a> Unpin for If<'a>
impl<'a> UnsafeUnpin for If<'a>
impl<'a> UnwindSafe for If<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more