Skip to main content

PyStringData

Type Alias PyStringData 

Source
pub type PyStringData<'a> = PyStringData<'a>;
👎Deprecated since 0.30.0:

moved to pyo3::types::string::PyStringData

Available on non-Py_LIMITED_API only.
Expand description

Deprecated alias for string::PyStringData.

Aliased Type§

pub enum PyStringData<'a> {
    Ucs1(&'a [u8]),
    Ucs2(&'a [u16]),
    Ucs4(&'a [u32]),
}

Variants§

§

Ucs1(&'a [u8])

UCS1 representation.

§

Ucs2(&'a [u16])

UCS2 representation.

§

Ucs4(&'a [u32])

UCS4 representation.

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here