Enum rustc_hir::hir::LoopSource [−][src]
pub enum LoopSource {
Loop,
While,
WhileLet,
ForLoop,
}Expand description
The loop type that yielded an ExprKind::Loop.
Variants
A loop { .. } loop.
A while _ { .. } loop.
A while let _ = _ { .. } loop.
A for _ in _ { .. } loop.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LoopSourceimpl Send for LoopSourceimpl Sync for LoopSourceimpl Unpin for LoopSourceimpl UnwindSafe for LoopSourceBlanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte