[][src]Function treeid::bits::kth_bit_iter

pub fn kth_bit_iter<'a, I>(it: &mut Peekable<I>, k: u8) -> bool where
    I: Iterator<Item = &'a u8>, 

Returns the k'th bit of the next element in it as a bool, without consuming the element.

If there is no next element, returns false.

Behavior is undefined if k >= 8.