pub struct Taint<'tcx> {
set: HashSet<TyWithIndex<'tcx>>,
}
Fields§
§set: HashSet<TyWithIndex<'tcx>>
Implementations§
source§impl<'tcx> Taint<'tcx>
impl<'tcx> Taint<'tcx>
pub fn is_untainted(&self) -> bool
pub fn is_tainted(&self) -> bool
pub fn contains(&self, k: &TyWithIndex<'tcx>) -> bool
pub fn insert(&mut self, k: TyWithIndex<'tcx>)
pub fn set(&self) -> &HashSet<TyWithIndex<'tcx>>
pub fn set_mut(&mut self) -> &mut HashSet<TyWithIndex<'tcx>>
Trait Implementations§
Auto Trait Implementations§
impl<'tcx> Freeze for Taint<'tcx>
impl<'tcx> !RefUnwindSafe for Taint<'tcx>
impl<'tcx> Send for Taint<'tcx>
impl<'tcx> Sync for Taint<'tcx>
impl<'tcx> Unpin for Taint<'tcx>
impl<'tcx> !UnwindSafe for Taint<'tcx>
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
)