pub enum Jump {
Break(Option<String>),
Continue(Option<String>),
ContinueVia(usize, Option<String>),
RawGoto(usize),
}Expand description
A named Java statement for break/continue targets.
Variants§
Break(Option<String>)
Continue(Option<String>)
ContinueVia(usize, Option<String>)
Continue of the loop at the given depth-from-innermost, prefixed by an emission of the target block’s own statements (the jump re-runs a shared statement-bearing tail that flows back into the header; a bare Continue would skip those statements).
RawGoto(usize)
Unstructured: emit label: + goto as comments (best effort).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Jump
impl RefUnwindSafe for Jump
impl Send for Jump
impl Sync for Jump
impl Unpin for Jump
impl UnsafeUnpin for Jump
impl UnwindSafe for Jump
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