Struct rustc_symbol_mangling::ty::FreeRegion [−][src]
pub struct FreeRegion {
pub scope: DefId,
pub bound_region: BoundRegionKind,
}Expand description
A “free” region fr can be interpreted as “some region
at least as big as the scope fr.scope”.
Fields
scope: DefIdbound_region: BoundRegionKindAuto Trait Implementations
impl RefUnwindSafe for FreeRegion
impl Send for FreeRegion
impl Sync for FreeRegion
impl Unpin for FreeRegion
impl UnwindSafe for FreeRegion
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn subst_spanned(
self,
tcx: TyCtxt<'tcx>,
substs: &[GenericArg<'tcx>],
span: Option<Span>
) -> T
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: 24 bytes