pub struct ElseIf {
pub condition: Box<Expression>,
pub body: Block,
pub span: Span,
}Expand description
One elseif cond then body branch.
Fields§
§condition: Box<Expression>§body: Block§span: SpanTrait Implementations§
Auto Trait Implementations§
impl Freeze for ElseIf
impl RefUnwindSafe for ElseIf
impl Send for ElseIf
impl Sync for ElseIf
impl Unpin for ElseIf
impl UnsafeUnpin for ElseIf
impl UnwindSafe for ElseIf
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