#[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,
}
Available on non-
Py_LIMITED_API
only.Fields§
§_base: PyASCIIObject
§utf8_length: Py_ssize_t
Available on non-
§GraalPy
only.utf8: *mut c_char
Available on non-
§GraalPy
only.wstr_length: Py_ssize_t
Available on neither
Py_3_12
nor GraalPy
.Auto Trait Implementations§
impl Freeze for PyCompactUnicodeObject
impl RefUnwindSafe for PyCompactUnicodeObject
impl !Send for PyCompactUnicodeObject
impl !Sync for PyCompactUnicodeObject
impl Unpin for PyCompactUnicodeObject
impl UnwindSafe for PyCompactUnicodeObject
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more