Struct rustc_middle::middle::region::YieldData [−][src]
pub struct YieldData {
pub span: Span,
pub expr_and_pat_count: usize,
pub source: YieldSource,
}Fields
span: SpanThe Span of the yield.
expr_and_pat_count: usizeThe number of expressions and patterns appearing before the yield in the body, plus one.
source: YieldSourceTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for YieldData
impl UnwindSafe for YieldData
Blanket 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: 24 bytes