pub trait IntoBitswhere
    Self: Sized + Copy,
{ type Output: BitsOps<Self>; fn bits<T: BitIndex>(self, range: T) -> Self::Output; }
Expand description

将整型转为 Bits,实际操作由 BitsOps 来实现。

Required Associated Types

Required Methods

Implementations on Foreign Types

Implementors