#[repr(C)]pub struct mem {
pub ptr: *mut u8,
pub len: size_t,
}Expand description
The representation of a memory slice in the Flips API.
Equivalent to a slice,
but without compile-time checks for mutability and ownership.
Fields§
§ptr: *mut u8§len: size_tImplementations§
Trait Implementations§
impl Copy for mem
Auto Trait Implementations§
impl Freeze for mem
impl RefUnwindSafe for mem
impl !Send for mem
impl !Sync for mem
impl Unpin for mem
impl UnwindSafe for mem
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