pub fn rw2<'a, T: ?Sized, U: ?Sized>(
        &'a mut self,
        qc1: &'a QCell<T>,
        qc2: &'a QCell<U>,
    ) -> (&'a mut T, &'a mut U) {
        assert_eq!(qc1.owner, self.id, "QCell accessed with incorrect owner");
        assert_eq!(qc2.owner, self.id, "QCell accessed with incorrect owner");
        assert_ne!(
            qc1 as *const _ as *const () as usize, qc2 as *const _ as *const () as usize,
            "Illegal to borrow same QCell twice with rw2()"
        );
        unsafe { (&mut *qc1.value.get(), &mut *qc2.value.get()) }
    }
/// Borrow contents of two `QCell` instances mutably.  Panics if
/// the two `QCell` instances point to the same memory.  Panics if
/// either `QCell` is not owned by this `QCellOwner`.
Borrow contents of two `QCell` instances mutably.  Panics if
the two `QCell` instances point to the same memory.  Panics if
either `QCell` is not owned by this `QCellOwner`.
Borrow contents of two ` QCell ` instances mutably . Panics if the two ` QCell ` instances point to the same memory . Panics if either ` QCell ` is not owned by this ` QCellOwner ` .
pub fn rw2<'a, T: ?Sized, U: ?Sized>(
        &'a mut self,
        qc1: &'a QCell<T>,
        qc2: &'a QCell<U>,
    ) -> (&'a mut T, &'a mut U) {
        assert_eq!(qc1.owner, self.id, "QCell accessed with incorrect owner");
        assert_eq!(qc2.owner, self.id, "QCell accessed with incorrect owner");
        assert_ne!(
            qc1 as *const _ as *const () as usize, qc2 as *const _ as *const () as usize,
            "Illegal to borrow same QCell twice with rw2()"
        );
        unsafe { (&mut *qc1.value.get(), &mut *qc2.value.get()) }
    }
pub fn rw2 < ' a , T : ? Sized , U : ? Sized > ( & ' a mut self , qc1 : & ' a QCell < T > , qc2 : & ' a QCell < U > , ) -> ( & ' a mut T , & ' a mut U ) { assert_eq ! ( qc1 owner self id " " ) ; assert_eq ! ( qc2 owner self id " " ) ; assert_ne ! ( qc1 as const as const ( ) as usize qc2 as const as const ( ) as usize " " ) ; unsafe { ( & mut * qc1 . value . get ( ) , & mut * qc2 . value . get ( ) ) } }
Borrow contents of two `QCell` instances mutably.
Borrow contents of two ` QCell ` instances mutably .
&'a mut self
qc1
&'a QCell<T>
qc2
&'a QCell<U>
&'a mut self
qc1
&'a QCell<T>
qc2
&'a QCell<U>