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