U32SliceMutExt

Trait U32SliceMutExt 

Source
pub trait U32SliceMutExt: AsU32SliceMut + U32SliceExt {
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 u32 slice

Provided Methods§

Source

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

convert u32 slice to mutable u8 slice

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

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

Source

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

Convert mutable u32 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 U32SliceMutExt for Box<[u32]>

Source§

impl U32SliceMutExt for Vec<u32>

Source§

impl<'a> U32SliceMutExt for &'a mut Box<[u32]>

Source§

impl<'a> U32SliceMutExt for &'a mut Vec<u32>

Source§

impl<'a> U32SliceMutExt for &'a mut [u32]

Source§

impl<const N: usize> U32SliceMutExt for [u32; N]

Implementors§