#[repr(C)]pub struct CSlice {
pub ptr: *const u8,
pub len: usize,
}Expand description
A FFI-safe slice.
Fields§
§ptr: *const u8§len: usizeTrait 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 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