U16SliceMutExt

Trait U16SliceMutExt 

Source
pub trait U16SliceMutExt: AsU16SliceMut + U16SliceExt {
Show 13 methods // Provided methods fn to_u8_slice_mut(&mut self) -> &mut [u8] { ... } fn to_u32_slice_mut(&mut self) -> &[u32] { ... } fn to_usize_slice_mut(&mut self) -> &[usize] { ... } fn to_u64_slice_mut(&mut self) -> &[u64] { ... } fn to_u128_slice_mut(&mut self) -> &[u128] { ... } fn to_i8_slice_mut(&mut self) -> &[i8] { ... } fn to_i16_slice_mut(&mut self) -> &[i16] { ... } fn to_i32_slice_mut(&mut self) -> &[i32] { ... } fn to_i64_slice_mut(&mut self) -> &[i64] { ... } fn to_isize_slice_mut(&mut self) -> &[isize] { ... } fn to_i128_slice_mut(&mut self) -> &[i128] { ... } fn to_f32_slice_mut(&mut self) -> &[f32] { ... } fn to_f64_slice_mut(&mut self) -> &[f64] { ... }
}
Expand description

Extensions for mutable u16 slice

Provided Methods§

Source

fn to_u8_slice_mut(&mut self) -> &mut [u8]

convert u16 slice to mutable u8 slice

Source

fn to_u32_slice_mut(&mut self) -> &[u32]

Convert mutable u16 slice to mutableu32 slice in native-endian(zero-copy)

Source

fn to_usize_slice_mut(&mut self) -> &[usize]

Convert mutable u16 slice to mutableusize slice in native-endian(zero-copy)

Source

fn to_u64_slice_mut(&mut self) -> &[u64]

Convert mutable u16 slice to mutableu64 slice in native-endian(zero-copy)

Source

fn to_u128_slice_mut(&mut self) -> &[u128]

Convert mutable u16 slice to mutableu128 slice in native-endian(zero-copy)

Source

fn to_i8_slice_mut(&mut self) -> &[i8]

Convert mutable u16 slice to mutablei8 slice in native-endian(zero-copy)

Source

fn to_i16_slice_mut(&mut self) -> &[i16]

Convert mutable u16 slice to mutablei16 slice in native-endian(zero-copy)

Source

fn to_i32_slice_mut(&mut self) -> &[i32]

Convert mutable u16 slice to mutablei32 slice in native-endian(zero-copy)

Source

fn to_i64_slice_mut(&mut self) -> &[i64]

Convert mutable u16 slice to mutablei64 slice in native-endian(zero-copy)

Source

fn to_isize_slice_mut(&mut self) -> &[isize]

Convert mutable u16 slice to mutableisize slice in native-endian(zero-copy)

Source

fn to_i128_slice_mut(&mut self) -> &[i128]

Convert mutable u16 slice to mutablei128 slice in native-endian(zero-copy)

Source

fn to_f32_slice_mut(&mut self) -> &[f32]

Convert mutable u16 slice to mutablef32 slice in native-endian(zero-copy)

Source

fn to_f64_slice_mut(&mut self) -> &[f64]

Convert mutable u16 slice to mutablef64 slice in native-endian(zero-copy)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl U16SliceMutExt for Box<[u16]>

Source§

impl U16SliceMutExt for Vec<u16>

Source§

impl<'a> U16SliceMutExt for &'a mut Box<[u16]>

Source§

impl<'a> U16SliceMutExt for &'a mut Vec<u16>

Source§

impl<'a> U16SliceMutExt for &'a mut [u16]

Source§

impl<const N: usize> U16SliceMutExt for [u16; N]

Implementors§