#[repr(C)]pub struct LibDiolStringUtf8 {
pub data: *mut c_char,
pub len: usize,
pub dealloc: unsafe extern "C" fn(*mut c_char, usize),
}Fields§
§data: *mut c_char§len: usize§dealloc: unsafe extern "C" fn(*mut c_char, usize)Trait Implementations§
Source§impl Clone for LibDiolStringUtf8
impl Clone for LibDiolStringUtf8
Source§fn clone(&self) -> LibDiolStringUtf8
fn clone(&self) -> LibDiolStringUtf8
Returns a duplicate 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 LibDiolStringUtf8
Auto Trait Implementations§
impl Freeze for LibDiolStringUtf8
impl RefUnwindSafe for LibDiolStringUtf8
impl !Send for LibDiolStringUtf8
impl !Sync for LibDiolStringUtf8
impl Unpin for LibDiolStringUtf8
impl UnwindSafe for LibDiolStringUtf8
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