pub struct ConformanceIndex { /* private fields */ }Implementations§
Source§impl ConformanceIndex
impl ConformanceIndex
pub fn insert(&mut self, witness: ConformanceWitness)
pub fn get( &self, receiver: &Type, interface: &Type, ) -> Option<&ConformanceWitness>
pub fn merge(&mut self, other: Self)
pub fn visit_types_mut(&mut self, visit: impl FnMut(&mut Type))
Trait Implementations§
Source§impl Clone for ConformanceIndex
impl Clone for ConformanceIndex
Source§impl Debug for ConformanceIndex
impl Debug for ConformanceIndex
Auto Trait Implementations§
impl Forget for ConformanceIndex
impl Freeze for ConformanceIndex
impl Move for ConformanceIndex
impl RefUnwindSafe for ConformanceIndex
impl Send for ConformanceIndex
impl Sync for ConformanceIndex
impl Unpin for ConformanceIndex
impl UnsafeUnpin for ConformanceIndexwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<((Type, Type), ConformanceWitness)>: UnsafeUnpin,
impl UnwindSafe for ConformanceIndex
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