Enum naga::back::continue_forward::ExitControlFlow
source · pub(super) enum ExitControlFlow {
None,
Continue {
variable: Rc<String>,
},
Break {
variable: Rc<String>,
},
}
Expand description
A micro-IR for code a backend should generate after a Switch
.
Variants§
None
Continue
Emit if (continue_variable) { continue; }
Break
Auto Trait Implementations§
impl Freeze for ExitControlFlow
impl RefUnwindSafe for ExitControlFlow
impl !Send for ExitControlFlow
impl !Sync for ExitControlFlow
impl Unpin for ExitControlFlow
impl UnwindSafe for ExitControlFlow
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