pub struct Loop {
pub header: BlockId,
pub body: Vec<BlockId>,
pub parent: Option<usize>,
}Expand description
A single natural loop.
Fields§
§header: BlockIdThe loop header (target of the back-edge).
body: Vec<BlockId>All blocks in the loop body, including the header. Sorted by BlockId.
parent: Option<usize>Index of the immediately enclosing loop in LoopInfo::loops, if any.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Loop
impl RefUnwindSafe for Loop
impl Send for Loop
impl Sync for Loop
impl Unpin for Loop
impl UnsafeUnpin for Loop
impl UnwindSafe for Loop
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