Struct rustc_middle::infer::unify_key::RegionVidKey [−][src]
pub struct RegionVidKey<'tcx> {
pub vid: RegionVid,
pub phantom: PhantomData<UnifiedRegion<'tcx>>,
}
Fields
vid: RegionVid
phantom: PhantomData<UnifiedRegion<'tcx>>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
type Value = UnifiedRegion<'tcx>
If true, then self
should be preferred as root to other
.
Note that we assume a consistent partial ordering, so
returning true implies that other.prefer_as_root_to(self)
would return false. If there is no ordering between two keys
(i.e., a.prefer_as_root_to(b)
and b.prefer_as_root_to(a)
both return false) then the rank will be used to determine the
root in an optimal way. Read more
Auto Trait Implementations
impl<'tcx> RefUnwindSafe for RegionVidKey<'tcx>
impl<'tcx> Send for RegionVidKey<'tcx>
impl<'tcx> Sync for RegionVidKey<'tcx>
impl<'tcx> Unpin for RegionVidKey<'tcx>
impl<'tcx> UnwindSafe for RegionVidKey<'tcx>
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: 4 bytes