pub struct IfElse {
pub consequent: InstrSeqId,
pub alternative: InstrSeqId,
}
Expand description
if <consequent> else <alternative> end
Fields§
§consequent: InstrSeqId
The block to execute when the condition is true.
alternative: InstrSeqId
The block to execute when the condition is false.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for IfElse
impl Send for IfElse
impl Sync for IfElse
impl Unpin for IfElse
impl UnwindSafe for IfElse
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