Type Alias PyStrInterned

Source
pub type PyStrInterned = PyInterned<PyStr>;
Expand description

The unique reference of interned PyStr Always intended to be used as a static reference

Aliased Type§

struct PyStrInterned { /* private fields */ }

Implementations§

Trait Implementations§

Source§

impl AsRef<str> for PyStrInterned

Source§

fn as_ref(&self) -> &str

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

impl Display for PyStrInterned

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more