pub fn downcast_into_ref<T>(self) -> Result<Ref<T>, AccessError>
    where
        T: Any,
    {
        // NB: we default to a "safer" mode with `AccessKind::Owned`, where
        // references cannot be converted to an `Mut<T>` in order to avoid
        // a potential soundness panic.
        self.internal_downcast_into_ref(AccessKind::Owned)
    }
/// Get a shared value and downcast.
Get a shared value and downcast.
Get a shared value and downcast .
pub fn downcast_into_ref<T>(self) -> Result<Ref<T>, AccessError>
    where
        T: Any,
    {
        // NB: we default to a "safer" mode with `AccessKind::Owned`, where
        // references cannot be converted to an `Mut<T>` in order to avoid
        // a potential soundness panic.
        self.internal_downcast_into_ref(AccessKind::Owned)
    }
pub fn downcast_into_ref < T > ( self ) -> Result < Ref < T > , AccessError > where T : Any , { // NB: we default to a "safer" mode with `AccessKind::Owned`, where // references cannot be converted to an `Mut<T>` in order to avoid // a potential soundness panic. self . internal_downcast_into_ref ( AccessKind :: Owned ) }
Get a shared value and downcast.
Get a shared value and downcast .
self
self