Struct rustpython_common::str::Repr
source · pub struct Repr<'a> { /* private fields */ }
Implementations§
source§impl Repr<'_>
impl Repr<'_>
sourcepub fn to_string_checked(&self) -> Result<String, ReprOverflowError>
pub fn to_string_checked(&self) -> Result<String, ReprOverflowError>
Same as <Self as ToString>::to_string()
, but checks for a possible OverflowError.