Skip to main content

BoundTy

Type Alias BoundTy 

Source
pub type BoundTy<'tcx> = BoundTy<TyCtxt<'tcx>>;

Aliased Type§

pub struct BoundTy<'tcx> {
    pub var: BoundVar,
    pub kind: BoundTyKind<TyCtxt<'tcx>>,
}

Fields§

§var: BoundVar§kind: BoundTyKind<TyCtxt<'tcx>>

Trait Implementations§

Source§

impl<'tcx> TypeFoldable<TyCtxt<'tcx>> for BoundTy<'tcx>

Source§

fn try_fold_with<F: FallibleTypeFolder<TyCtxt<'tcx>>>( self, _: &mut F, ) -> Result<Self, F::Error>

The entry point for folding. To fold a value t with a folder f call: t.try_fold_with(f). Read more
Source§

fn fold_with<F: TypeFolder<TyCtxt<'tcx>>>(self, _: &mut F) -> Self

The entry point for folding. To fold a value t with a folder f call: t.fold_with(f). Read more
Source§

impl<'tcx> TypeVisitable<TyCtxt<'tcx>> for BoundTy<'tcx>

Source§

fn visit_with<F: TypeVisitor<TyCtxt<'tcx>>>(&self, _: &mut F) -> F::Result

The entry point for visiting. To visit a value t with a visitor v call: t.visit_with(v). 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: 12 bytes