Skip to main content

PyStrRef

Type Alias PyStrRef 

Source
pub type PyStrRef = PyRef<PyStr>;

Aliased Type§

pub struct PyStrRef { /* private fields */ }

Trait Implementations§

Source§

impl AsRef<Wtf8> for PyStrRef

Source§

fn as_ref(&self) -> &Wtf8

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<str> for PyStrRef

Source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl StrBuffer for PyStrRef