pub trait IntoBitswhere
Self: Sized + Copy,{
type Output: BitsOps<Self>;
fn bits<T: BitIndex>(self, range: T) -> Self::Output;
}
Expand description
将整型转为 Bits,实际操作由 BitsOps 来实现。
pub trait IntoBitswhere
Self: Sized + Copy,{
type Output: BitsOps<Self>;
fn bits<T: BitIndex>(self, range: T) -> Self::Output;
}
将整型转为 Bits,实际操作由 BitsOps 来实现。