Convert to PyStrRef. Safe because PyUtf8Str is a subtype of PyStr.
(self)
| 2183 | impl PyRef<PyUtf8Str> { |
| 2184 | /// Convert to PyStrRef. Safe because PyUtf8Str is a subtype of PyStr. |
| 2185 | pub fn into_wtf8(self) -> PyStrRef { |
| 2186 | unsafe { mem::transmute::<Self, PyStrRef>(self) } |
| 2187 | } |
| 2188 | } |
| 2189 | |
| 2190 | impl From<PyRef<PyUtf8Str>> for PyRef<PyStr> { |
no outgoing calls
no test coverage detected