#[repr(C)]pub struct StringObject {
pub m_header: Object,
pub m_size: usize,
pub m_capacity: usize,
pub m_length: usize,
pub m_data: [u8; 0],
}Fields§
§m_header: Object§m_size: usizeByte length including the '\0' terminator.
m_capacity: usize§m_length: usizeNumber of code points.
m_data: [u8; 0]Auto Trait Implementations§
impl Forget for StringObject
impl Freeze for StringObject
impl Move for StringObject
impl RefUnwindSafe for StringObject
impl Send for StringObject
impl Sync for StringObject
impl Unpin for StringObject
impl UnsafeUnpin for StringObject
impl UnwindSafe for StringObject
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