pub fn map_as_ref<F: FnOnce(&NormalizedString) -> U, U>(&self, f: F) -> PyResult<U> {
        self.inner
            .map(f)
            .ok_or_else(PyNormalizedStringRefMut::destroyed_error)
    }
/// Provides a way to access a reference to the underlying NormalizedString
Provides a way to access a reference to the underlying NormalizedString
Provides a way to access a reference to the underlying NormalizedString
pub fn map_as_ref<F: FnOnce(&NormalizedString) -> U, U>(&self, f: F) -> PyResult<U> {
        self.inner
            .map(f)
            .ok_or_else(PyNormalizedStringRefMut::destroyed_error)
    }
pub fn map_as_ref < F : FnOnce ( & NormalizedString ) -> U , U > ( & self , f : F ) -> PyResult < U > { self . inner . map ( f ) . ok_or_else ( PyNormalizedStringRefMut :: destroyed_error ) }
Provides a way to access a reference to the underlying NormalizedString
Provides a way to access a reference to the underlying NormalizedString
&self
f
F