[][src]Trait sunrise_libutils::BitArrayExt

pub trait BitArrayExt<U: BitField>: BitArray<U> {
    fn set_bits_area(&mut self, range: Range<usize>, value: bool) { ... }
}

Extension of the BitField trait, that adds the set_bits_area function.

Provided methods

fn set_bits_area(&mut self, range: Range<usize>, value: bool)

Sets a range of bits to value in the BitField.

Loading content...

Implementors

impl<T: ?Sized, U: BitField> BitArrayExt<U> for T where
    T: BitArray<U>, 
[src]

Loading content...