pub type BoundRegion<'tcx> = BoundRegion<TyCtxt<'tcx>>;Aliased Type§
pub struct BoundRegion<'tcx> {
pub var: BoundVar,
pub kind: BoundRegionKind<TyCtxt<'tcx>>,
}Fields§
§var: BoundVar§kind: BoundRegionKind<TyCtxt<'tcx>>Trait Implementations§
Source§impl<'tcx> TypeFoldable<TyCtxt<'tcx>> for BoundRegion<'tcx>
impl<'tcx> TypeFoldable<TyCtxt<'tcx>> for BoundRegion<'tcx>
Source§fn try_fold_with<F: FallibleTypeFolder<TyCtxt<'tcx>>>(
self,
_: &mut F,
) -> Result<Self, F::Error>
fn try_fold_with<F: FallibleTypeFolder<TyCtxt<'tcx>>>( self, _: &mut F, ) -> Result<Self, F::Error>
Source§impl<'tcx> TypeVisitable<TyCtxt<'tcx>> for BoundRegion<'tcx>
impl<'tcx> TypeVisitable<TyCtxt<'tcx>> for BoundRegion<'tcx>
Source§fn visit_with<F: TypeVisitor<TyCtxt<'tcx>>>(&self, _: &mut F) -> F::Result
fn visit_with<F: TypeVisitor<TyCtxt<'tcx>>>(&self, _: &mut F) -> F::Result
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: 12 bytes