Trait ra_ap_rustc_index::bit_set::FiniteBitSetTy
source · 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;
// Required methods
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.
Required Associated Constants§
sourceconst DOMAIN_SIZE: u32
const DOMAIN_SIZE: u32
Size of the domain representable by this type, e.g. 64 for u64
.
Required Methods§
sourcefn checked_shl(self, rhs: u32) -> Option<Self>
fn checked_shl(self, rhs: u32) -> Option<Self>
Perform a checked left shift on the integral type.
sourcefn checked_shr(self, rhs: u32) -> Option<Self>
fn checked_shr(self, rhs: u32) -> Option<Self>
Perform a checked right shift on the integral type.
Object Safety§
This trait is not object safe.