Struct pyo3_ffi::cpython::unicodeobject::PyCompactUnicodeObject
source · [−]#[repr(C)]pub struct PyCompactUnicodeObject {
pub _base: PyASCIIObject,
pub utf8_length: Py_ssize_t,
pub utf8: *mut c_char,
pub wstr_length: Py_ssize_t,
}Fields
_base: PyASCIIObjectutf8_length: Py_ssize_tutf8: *mut c_charwstr_length: Py_ssize_tAuto Trait Implementations
impl RefUnwindSafe for PyCompactUnicodeObject
impl !Send for PyCompactUnicodeObject
impl !Sync for PyCompactUnicodeObject
impl Unpin for PyCompactUnicodeObject
impl UnwindSafe for PyCompactUnicodeObject
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more