pub fn detach(rc: ComRc<T>) -> ComItf<T>
    {
        let itf = ComItf { ..rc.itf };
        std::mem::forget(rc);
        itf
    }
/// Attaches a floating ComItf reference and brings it under managed
/// reference counting.
///
/// Does not increment the reference count.
Attaches a floating ComItf reference and brings it under managed
reference counting.

Does not increment the reference count.
Attaches a floating ComItf reference and brings it under managed reference counting . Does not increment the reference count .
pub fn detach(rc: ComRc<T>) -> ComItf<T>
    {
        let itf = ComItf { ..rc.itf };
        std::mem::forget(rc);
        itf
    }
pub fn detach ( rc : ComRc < T > ) -> ComItf < T > { let itf = ComItf { .. rc . itf } ; std :: mem :: forget ( rc ) ; itf }
Attaches a floating ComItf reference and brings it under managed
reference counting.
Attaches a floating ComItf reference and brings it under managed reference counting .
rc
ComRc<T>
rc
ComRc<T>