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