pub struct Exit {
pub targets: Vec<BlockId>,
pub state: Option<u32>,
}Expand description
Where control arrives when it runs off the end of a shape, or when it
breaks or continues a labelled one.
More than one target means an irreducible region’s dispatch: which of them
is entered is the value written to Exit::state on the way.
Fields§
§targets: Vec<BlockId>The blocks control can arrive at.
state: Option<u32>The state variable that says which, when there is more than one.
Implementations§
Trait Implementations§
impl Eq for Exit
impl StructuralPartialEq for Exit
Auto Trait Implementations§
impl Freeze for Exit
impl RefUnwindSafe for Exit
impl Send for Exit
impl Sync for Exit
impl Unpin for Exit
impl UnsafeUnpin for Exit
impl UnwindSafe for Exit
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