#[repr(C)]pub struct CString {
pub data: *mut i8,
pub size: usize,
}
Fields§
§data: *mut i8
§size: usize
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CString
impl RefUnwindSafe for CString
impl !Send for CString
impl !Sync for CString
impl Unpin for CString
impl UnwindSafe for CString
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