pub struct IfSpan {
pub branches: Vec<IfBranchSpan>,
}Expand description
Components of an IF statement.
Fields§
§branches: Vec<IfBranchSpan>Sequence of the branches in the conditional.
Representation of the conditional branches. The final ELSE branch, if present, is also
included here and its guard clause is always a true expression.
Trait Implementations§
impl StructuralPartialEq for IfSpan
Auto Trait Implementations§
impl Freeze for IfSpan
impl RefUnwindSafe for IfSpan
impl Send for IfSpan
impl Sync for IfSpan
impl Unpin for IfSpan
impl UnwindSafe for IfSpan
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