pub enum LoopNode {
Loop {
label: Option<String>,
line: usize,
column: usize,
children: Vec<LoopNode>,
},
Macro {
start: (usize, usize),
end: (usize, usize),
},
}Expand description
A loop of a function body or a macro call (whose loops are not visible).
Variants§
Trait Implementations§
impl Eq for LoopNode
impl StructuralPartialEq for LoopNode
Auto Trait Implementations§
impl Forget for LoopNode
impl Freeze for LoopNode
impl Move for LoopNode
impl RefUnwindSafe for LoopNode
impl Send for LoopNodewhere
RawVecInner: Send,
impl Sync for LoopNodewhere
RawVecInner: Sync,
impl Unpin for LoopNode
impl UnsafeUnpin for LoopNodewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<LoopNode>: UnsafeUnpin,
impl UnwindSafe for LoopNodewhere
RawVecInner: UnwindSafe,
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