pub struct IfBlock {
pub expr: Expr,
pub block: Block,
pub elseif: Vec<ElseIf>,
pub else_blk: Option<Block>,
}
Expand description
if exp then block {elseif exp then block} [else block] end
Fields
expr: Expr
block: Block
elseif: Vec<ElseIf>
else_blk: Option<Block>
Trait Implementations
impl StructuralPartialEq for IfBlock
Auto Trait Implementations
impl RefUnwindSafe for IfBlock
impl Send for IfBlock
impl Sync for IfBlock
impl Unpin for IfBlock
impl UnwindSafe for IfBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more