#[repr(C)]pub struct PyUnicodeObject {
pub ob_refcnt: Py_ssize_t,
pub ob_type: *mut PyTypeObject,
pub length: Py_ssize_t,
pub data: *mut Py_UNICODE,
pub hash: c_long,
pub defenc: *mut PyObject,
}
Fields§
§ob_refcnt: Py_ssize_t
§ob_type: *mut PyTypeObject
§length: Py_ssize_t
§data: *mut Py_UNICODE
§hash: c_long
§defenc: *mut PyObject
Trait Implementations§
Source§impl Clone for PyUnicodeObject
impl Clone for PyUnicodeObject
Source§fn clone(&self) -> PyUnicodeObject
fn clone(&self) -> PyUnicodeObject
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for PyUnicodeObject
Auto Trait Implementations§
impl Freeze for PyUnicodeObject
impl RefUnwindSafe for PyUnicodeObject
impl !Send for PyUnicodeObject
impl !Sync for PyUnicodeObject
impl Unpin for PyUnicodeObject
impl UnwindSafe for PyUnicodeObject
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