#[repr(C)]pub struct FLSlice {
pub buf: *const c_void,
pub size: usize,
}Expand description
A simple reference to a block of memory. Does not imply ownership.
(This is equivalent to the C++ class slice.)
Fields§
§buf: *const c_void§size: usizeImplementations§
Trait Implementations§
impl Copy for FLSlice
Auto Trait Implementations§
impl Freeze for FLSlice
impl RefUnwindSafe for FLSlice
impl !Send for FLSlice
impl !Sync for FLSlice
impl Unpin for FLSlice
impl UnwindSafe for FLSlice
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