#[repr(C)]pub struct U32VecSlice {
pub ptr: *const u32,
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 u32§len: usizeImplementations§
Trait Implementations§
Source§impl Clone for U32VecSlice
impl Clone for U32VecSlice
Source§fn clone(&self) -> U32VecSlice
fn clone(&self) -> U32VecSlice
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 U32VecSlice
impl Debug for U32VecSlice
impl Copy for U32VecSlice
impl Send for U32VecSlice
impl Sync for U32VecSlice
Auto Trait Implementations§
impl Freeze for U32VecSlice
impl RefUnwindSafe for U32VecSlice
impl Unpin for U32VecSlice
impl UnsafeUnpin for U32VecSlice
impl UnwindSafe for U32VecSlice
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