Type Alias rustpython_vm::builtins::PyStrRef

source ·
pub type PyStrRef = PyRef<PyStr>;

Implementations§

source§

impl PyStrRef

source

pub fn concat_in_place(&mut self, other: &str, vm: &VirtualMachine)

Trait Implementations§

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

source§

fn is_ascii(&self) -> bool