1 2 3 4 5 6 7 8 9 10 11
use crate::{ enums::Bin, traits::UnsignedInteger, }; #[allow(private_bounds)] pub trait Set : UnsignedInteger { type Pos; fn set_bit(self, pos: Self::Pos, bin: Bin) -> Self; }