Struct rustc_typeck::check::generator_interior::SuspendCheckData [−][src]
pub struct SuspendCheckData<'a, 'tcx> {
expr: Option<&'tcx Expr<'tcx>>,
source_span: Span,
yield_span: Span,
descr_pre: &'a str,
descr_post: &'a str,
plural_len: usize,
}Fields
expr: Option<&'tcx Expr<'tcx>>source_span: Spanyield_span: Spandescr_pre: &'a strdescr_post: &'a strplural_len: usizeTrait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<'a, 'tcx> RefUnwindSafe for SuspendCheckData
impl<'a, 'tcx> !Send for SuspendCheckData
impl<'a, 'tcx> !Sync for SuspendCheckData
impl<'a, 'tcx> Unpin for SuspendCheckData
impl<'a, 'tcx> UnwindSafe for SuspendCheckData
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. 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: 64 bytes
