#[repr(C)]pub struct PyStringObject {
pub ob_refcnt: Py_ssize_t,
pub ob_type: *mut PyTypeObject,
pub ob_size: Py_ssize_t,
pub ob_shash: c_long,
pub ob_sstate: c_int,
pub ob_sval: [c_char; 1],
}
Fields§
§ob_refcnt: Py_ssize_t
§ob_type: *mut PyTypeObject
§ob_size: Py_ssize_t
§ob_shash: c_long
§ob_sstate: c_int
§ob_sval: [c_char; 1]
Auto Trait Implementations§
impl Freeze for PyStringObject
impl RefUnwindSafe for PyStringObject
impl !Send for PyStringObject
impl !Sync for PyStringObject
impl Unpin for PyStringObject
impl UnwindSafe for PyStringObject
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