Enum rustc_middle::ty::UpvarSubsts [−][src]
Variants
Tuple Fields of Closure
0: SubstsRef<'tcx>Tuple Fields of Generator
0: SubstsRef<'tcx>Implementations
Returns an iterator over the list of types of captured paths by the closure/generator. In case there was a type error in figuring out the types of the captured path, an empty iterator is returned.
Trait Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for UpvarSubsts<'tcx>
impl<'tcx> !Send for UpvarSubsts<'tcx>
impl<'tcx> !Sync for UpvarSubsts<'tcx>
impl<'tcx> Unpin for UpvarSubsts<'tcx>
impl<'tcx> !UnwindSafe for UpvarSubsts<'tcx>
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: 16 bytes