pub struct IfBlock<'a, 'b> {
pub if_blocks: Vec<(&'a Expression<'b>, Blocks<'a, 'b>)>,
pub else_blocks: Option<Blocks<'a, 'b>>,
}Expand description
If-Else chain control flow block.
Fields§
§if_blocks: Vec<(&'a Expression<'b>, Blocks<'a, 'b>)>§else_blocks: Option<Blocks<'a, 'b>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b> Freeze for IfBlock<'a, 'b>
impl<'a, 'b> RefUnwindSafe for IfBlock<'a, 'b>
impl<'a, 'b> Send for IfBlock<'a, 'b>
impl<'a, 'b> Sync for IfBlock<'a, 'b>
impl<'a, 'b> Unpin for IfBlock<'a, 'b>
impl<'a, 'b> UnwindSafe for IfBlock<'a, 'b>
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