pub trait GetBit { type Output: Boolean; // Required method fn get_bit(&self, index: usize, signed: bool) -> Self::Output; }