pub fn min_shift(byte: u8) -> u8
Returns the least value of all rotations of a byte.
use imageproc::local_binary_patterns::min_shift; let byte = 0b10110100; assert_eq!(min_shift(byte), 0b00101101);