Struct rustc_borrowck::diagnostics::region_name::RegionName [−][src]
pub(crate) struct RegionName {
pub(crate) name: Symbol,
pub(crate) source: RegionNameSource,
}
Expand description
A name for a particular region used in emitting diagnostics. This name could be a generated
name like '1
, a name used by the user like 'a
, or a name like 'static
.
Fields
name: Symbol
The name of the region (interned).
source: RegionNameSource
Where the region comes from.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RegionName
impl !Send for RegionName
impl !Sync for RegionName
impl Unpin for RegionName
impl UnwindSafe for RegionName
Blanket Implementations
Mutably borrows from an owned value. Read more
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: 80 bytes