Trait rustc_ap_rustc_index::bit_set::FiniteBitSetTy [−][src]
pub trait FiniteBitSetTy: BitAnd<Output = Self> + BitAndAssign + BitOrAssign + Clone + Copy + Shl + Not<Output = Self> + PartialEq + Sized { const DOMAIN_SIZE: u32; const FILLED: Self; const EMPTY: Self; const ONE: Self; const ZERO: Self; fn checked_shl(self, rhs: u32) -> Option<Self>; fn checked_shr(self, rhs: u32) -> Option<Self>; }
Expand description
Integral type used to represent the bit set.
Associated Constants
const DOMAIN_SIZE: u32
[src]
Expand description
Size of the domain representable by this type, e.g. 64 for u64
.
const FILLED: Self
[src]
Expand description
Value which represents the FiniteBitSet
having every bit set.
const EMPTY: Self
[src]
Expand description
Value which represents the FiniteBitSet
having no bits set.
const ONE: Self
[src]
Expand description
Value for one as the integral type.
const ZERO: Self
[src]
Expand description
Value for zero as the integral type.
Required methods
fn checked_shl(self, rhs: u32) -> Option<Self>
[src]
Expand description
Perform a checked left shift on the integral type.
fn checked_shr(self, rhs: u32) -> Option<Self>
[src]
Expand description
Perform a checked right shift on the integral type.
Implementations on Foreign Types
impl FiniteBitSetTy for u32
[src]
impl FiniteBitSetTy for u32
[src]impl FiniteBitSetTy for u64
[src]
impl FiniteBitSetTy for u64
[src]impl FiniteBitSetTy for u128
[src]
impl FiniteBitSetTy for u128
[src]