struct IsolatedParamFieldSubst {
parameters: HashSet<usize>,
}
Fields§
§parameters: HashSet<usize>
Implementations§
source§impl<'tcx> IsolatedParamFieldSubst
impl<'tcx> IsolatedParamFieldSubst
pub fn new() -> Self
pub fn parameters(&self) -> &HashSet<usize>
pub fn parameters_mut(&mut self) -> &mut HashSet<usize>
pub fn contains_param(&self) -> bool
Trait Implementations§
source§impl Clone for IsolatedParamFieldSubst
impl Clone for IsolatedParamFieldSubst
source§fn clone(&self) -> IsolatedParamFieldSubst
fn clone(&self) -> IsolatedParamFieldSubst
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'tcx> TypeVisitor<TyCtxt<'tcx>> for IsolatedParamFieldSubst
impl<'tcx> TypeVisitor<TyCtxt<'tcx>> for IsolatedParamFieldSubst
type Result = ControlFlow<()>
fn visit_ty(&mut self, ty: Ty<'tcx>) -> Self::Result
fn visit_binder<T>(&mut self, t: &Binder<I, T>) -> Self::Resultwhere
T: TypeVisitable<I>,
fn visit_region(&mut self, r: <I as Interner>::Region) -> Self::Result
fn visit_const(&mut self, c: <I as Interner>::Const) -> Self::Result
fn visit_predicate(&mut self, p: <I as Interner>::Predicate) -> Self::Result
fn visit_clauses(&mut self, p: <I as Interner>::Clauses) -> Self::Result
fn visit_error( &mut self, _guar: <I as Interner>::ErrorGuaranteed, ) -> Self::Result
Auto Trait Implementations§
impl Freeze for IsolatedParamFieldSubst
impl RefUnwindSafe for IsolatedParamFieldSubst
impl Send for IsolatedParamFieldSubst
impl Sync for IsolatedParamFieldSubst
impl Unpin for IsolatedParamFieldSubst
impl UnwindSafe for IsolatedParamFieldSubst
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)