Trait collections::slice::MutableIntSliceExperimental
[-]
[+]
[src]
pub trait MutableIntSlice<U, S>: ImmutableIntSlice<U, S> {
fn as_unsigned_mut(&'a mut self) -> &'a mut [U];
fn as_signed_mut(&'a mut self) -> &'a mut [S];
}Extension methods for mutable slices containing integers.
Required Methods
fn as_unsigned_mut(&'a mut self) -> &'a mut [U]
Converts the slice to a mutable slice of unsigned integers with the same width.
fn as_signed_mut(&'a mut self) -> &'a mut [S]
Converts the slice to a mutable slice of signed integers with the same width.
Implementors
impl MutableIntSlice<u8, i8> for [u8]impl MutableIntSlice<u8, i8> for [i8]impl MutableIntSlice<u16, i16> for [u16]impl MutableIntSlice<u16, i16> for [i16]impl MutableIntSlice<u32, i32> for [u32]impl MutableIntSlice<u32, i32> for [i32]impl MutableIntSlice<u64, i64> for [u64]impl MutableIntSlice<u64, i64> for [i64]impl MutableIntSlice<uint, int> for [uint]impl MutableIntSlice<uint, int> for [int]