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