pub struct CondBlockBranch {
pub span: Span,
pub condition: Expr,
pub items: Vec<BlockItem>,
}Expand description
A branch of a block-level if/else if chain.
Fields§
§span: Span§condition: Expr§items: Vec<BlockItem>Trait Implementations§
Source§impl Clone for CondBlockBranch
impl Clone for CondBlockBranch
Source§fn clone(&self) -> CondBlockBranch
fn clone(&self) -> CondBlockBranch
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 CondBlockBranch
impl Debug for CondBlockBranch
Auto Trait Implementations§
impl Freeze for CondBlockBranch
impl RefUnwindSafe for CondBlockBranch
impl Send for CondBlockBranch
impl Sync for CondBlockBranch
impl Unpin for CondBlockBranch
impl UnsafeUnpin for CondBlockBranch
impl UnwindSafe for CondBlockBranch
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