pub type PlaceholderType = Placeholder<BoundTy>;
Aliased Type§
pub struct PlaceholderType {
pub universe: UniverseIndex,
pub bound: BoundTy,
}
Fields§
§universe: UniverseIndex
§bound: BoundTy
Trait Implementations§
Source§impl<'tcx> Display for PlaceholderType
impl<'tcx> Display for PlaceholderType
Source§impl<'tcx> Lift<TyCtxt<'tcx>> for PlaceholderType
impl<'tcx> Lift<TyCtxt<'tcx>> for PlaceholderType
type Lifted = Placeholder<BoundTy>
fn lift_to_interner(self, _: TyCtxt<'tcx>) -> Option<Self>
Source§impl<'tcx> PlaceholderLike<TyCtxt<'tcx>> for PlaceholderType
impl<'tcx> PlaceholderLike<TyCtxt<'tcx>> for PlaceholderType
Source§impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for PlaceholderType
impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for PlaceholderType
Source§impl<'tcx> TypeFoldable<TyCtxt<'tcx>> for PlaceholderType
impl<'tcx> TypeFoldable<TyCtxt<'tcx>> for PlaceholderType
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 PlaceholderType
impl<'tcx> TypeVisitable<TyCtxt<'tcx>> for PlaceholderType
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: 16 bytes