#[repr(C)]pub struct U8VecSlice {
pub ptr: *const u8,
pub len: usize,
}Expand description
C-compatible slice type for $struct_name. This is a non-owning view into a Vec’s data.
Fields§
§ptr: *const u8§len: usizeImplementations§
Trait Implementations§
Source§impl Clone for U8VecSlice
impl Clone for U8VecSlice
Source§fn clone(&self) -> U8VecSlice
fn clone(&self) -> U8VecSlice
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 moreSource§impl Debug for U8VecSlice
impl Debug for U8VecSlice
impl Copy for U8VecSlice
impl Send for U8VecSlice
impl Sync for U8VecSlice
Auto Trait Implementations§
impl Freeze for U8VecSlice
impl RefUnwindSafe for U8VecSlice
impl Unpin for U8VecSlice
impl UnsafeUnpin for U8VecSlice
impl UnwindSafe for U8VecSlice
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