pub struct ElseIfBranch {
pub condition: Expr,
pub body: Stmt,
pub span: Span,
}Fields§
§condition: Expr§body: Stmt§span: SpanTrait Implementations§
Source§impl Clone for ElseIfBranch
impl Clone for ElseIfBranch
Source§fn clone(&self) -> ElseIfBranch
fn clone(&self) -> ElseIfBranch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ElseIfBranch
impl Debug for ElseIfBranch
Auto Trait Implementations§
impl Freeze for ElseIfBranch
impl RefUnwindSafe for ElseIfBranch
impl Send for ElseIfBranch
impl Sync for ElseIfBranch
impl Unpin for ElseIfBranch
impl UnsafeUnpin for ElseIfBranch
impl UnwindSafe for ElseIfBranch
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