Struct rustc_middle::ty::fold::HasTypeFlagsVisitor [−][src]
struct HasTypeFlagsVisitor {
flags: TypeFlags,
}Fields
flags: TypeFlagsTrait Implementations
impl<'tcx> TypeVisitor<'tcx> for HasTypeFlagsVisitor[src]
impl<'tcx> TypeVisitor<'tcx> for HasTypeFlagsVisitor[src]type BreakTy = FoundFlags
fn visit_ty(&mut self, t: Ty<'_>) -> ControlFlow<Self::BreakTy>[src]
fn visit_region(&mut self, r: Region<'tcx>) -> ControlFlow<Self::BreakTy>[src]
fn visit_const(&mut self, c: &'tcx Const<'tcx>) -> ControlFlow<Self::BreakTy>[src]
fn visit_predicate(
&mut self,
predicate: Predicate<'tcx>
) -> ControlFlow<Self::BreakTy>[src]
&mut self,
predicate: Predicate<'tcx>
) -> ControlFlow<Self::BreakTy>
fn visit_binder<T: TypeFoldable<'tcx>>(
&mut self,
t: &Binder<'tcx, T>
) -> ControlFlow<Self::BreakTy>[src]
&mut self,
t: &Binder<'tcx, T>
) -> ControlFlow<Self::BreakTy>
Auto Trait Implementations
impl RefUnwindSafe for HasTypeFlagsVisitor
impl Send for HasTypeFlagsVisitor
impl Sync for HasTypeFlagsVisitor
impl Unpin for HasTypeFlagsVisitor
impl UnwindSafe for HasTypeFlagsVisitor
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> MaybeResult<T> for T[src]
impl<T> MaybeResult<T> for T[src]impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]fn with_constness(self, constness: Constness) -> ConstnessAnd<Self>[src]
fn with_const(self) -> ConstnessAnd<Self>[src]
fn without_const(self) -> ConstnessAnd<Self>[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,