pub struct CSlice { /* private fields */ }Expand description
Owned malloc-allocated memory slice.
Do not derive Clone for this because it will cause double-free.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CSlice
impl RefUnwindSafe for CSlice
impl !Send for CSlice
impl !Sync for CSlice
impl Unpin for CSlice
impl UnsafeUnpin for CSlice
impl UnwindSafe for CSlice
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