pub struct IfBranchSpan {
pub guard: Expr,
pub body: Vec<Statement>,
}
Expand description
Components of a branch of an IF
statement.
Fields§
§guard: Expr
Expression that guards execution of this branch.
body: Vec<Statement>
Statements within the branch.
Trait Implementations§
Source§impl Debug for IfBranchSpan
impl Debug for IfBranchSpan
Source§impl PartialEq for IfBranchSpan
impl PartialEq for IfBranchSpan
impl StructuralPartialEq for IfBranchSpan
Auto Trait Implementations§
impl Freeze for IfBranchSpan
impl RefUnwindSafe for IfBranchSpan
impl Send for IfBranchSpan
impl Sync for IfBranchSpan
impl Unpin for IfBranchSpan
impl UnwindSafe for IfBranchSpan
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