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