Enum rustc_mir::borrow_check::region_infer::values::RegionElement [−][src]
pub(crate) enum RegionElement {
Location(Location),
RootUniversalRegion(RegionVid),
PlaceholderRegion(PlaceholderRegion),
}Expand description
An individual element in a region value – the value of a particular region variable consists of a set of these elements.
Variants
Location(Location)A point in the control-flow graph.
RootUniversalRegion(RegionVid)A universally quantified region from the root universe (e.g., a lifetime parameter).
PlaceholderRegion(PlaceholderRegion)A placeholder (e.g., instantiated from a for<'a> fn(&'a u32)
type).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RegionElementimpl Send for RegionElementimpl Sync for RegionElementimpl Unpin for RegionElementimpl UnwindSafe for RegionElementBlanket 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