pub struct CondBranch {
pub span: Span,
pub condition: Expr,
pub body: Expr,
}Fields§
§span: Span§condition: Expr§body: ExprTrait Implementations§
Source§impl Clone for CondBranch
impl Clone for CondBranch
Source§fn clone(&self) -> CondBranch
fn clone(&self) -> CondBranch
Returns a duplicate of the value. Read more
1.0.0 · 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 CondBranch
impl Debug for CondBranch
Auto Trait Implementations§
impl Freeze for CondBranch
impl RefUnwindSafe for CondBranch
impl Send for CondBranch
impl Sync for CondBranch
impl Unpin for CondBranch
impl UnsafeUnpin for CondBranch
impl UnwindSafe for CondBranch
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