struct RegionsToStatic<I> {
interner: I,
binder: DebruijnIndex,
}
Fields§
§interner: I
§binder: DebruijnIndex
Trait Implementations§
source§impl<I: Interner> TypeFolder<I> for RegionsToStatic<I>
impl<I: Interner> TypeFolder<I> for RegionsToStatic<I>
fn interner(&self) -> I
fn fold_binder<T>(&mut self, t: I::Binder<T>) -> I::Binder<T>
fn fold_region(&mut self, r: I::Region) -> I::Region
fn fold_ty(&mut self, t: <I as Interner>::Ty) -> <I as Interner>::Ty
fn fold_const(&mut self, c: <I as Interner>::Const) -> <I as Interner>::Const
fn fold_predicate( &mut self, p: <I as Interner>::Predicate ) -> <I as Interner>::Predicate
Auto Trait Implementations§
impl<I> DynSend for RegionsToStatic<I>where
I: DynSend,
impl<I> DynSync for RegionsToStatic<I>where
I: DynSync,
impl<I> Freeze for RegionsToStatic<I>where
I: Freeze,
impl<I> RefUnwindSafe for RegionsToStatic<I>where
I: RefUnwindSafe,
impl<I> Send for RegionsToStatic<I>where
I: Send,
impl<I> Sync for RegionsToStatic<I>where
I: Sync,
impl<I> Unpin for RegionsToStatic<I>where
I: Unpin,
impl<I> UnwindSafe for RegionsToStatic<I>where
I: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
source§impl<I, F> FallibleTypeFolder<I> for Fwhere
I: Interner,
F: TypeFolder<I>,
impl<I, F> FallibleTypeFolder<I> for Fwhere
I: Interner,
F: TypeFolder<I>,
type Error = !
fn interner(&self) -> I
fn try_fold_binder<T>( &mut self, t: <I as Interner>::Binder<T> ) -> Result<<I as Interner>::Binder<T>, !>
fn try_fold_ty( &mut self, t: <I as Interner>::Ty ) -> Result<<I as Interner>::Ty, !>
fn try_fold_region( &mut self, r: <I as Interner>::Region ) -> Result<<I as Interner>::Region, !>
fn try_fold_const( &mut self, c: <I as Interner>::Const ) -> Result<<I as Interner>::Const, !>
fn try_fold_predicate( &mut self, p: <I as Interner>::Predicate ) -> Result<<I as Interner>::Predicate, !>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.