Struct rustc_ap_rustc_index::bit_set::FiniteBitSet [−][src]
pub struct FiniteBitSet<T: FiniteBitSetTy>(pub T);
Expand description
A fixed-sized bitset type represented by an integer type. Indices outwith than the range
representable by T
are considered set.
Implementations
Returns the domain size of the bitset.
Trait Implementations
impl<T: FiniteBitSetTy, __D: Decoder> Decodable<__D> for FiniteBitSet<T> where
T: Decodable<__D>,
[src]
impl<T: FiniteBitSetTy, __D: Decoder> Decodable<__D> for FiniteBitSet<T> where
T: Decodable<__D>,
[src]impl<T: FiniteBitSetTy, __E: Encoder> Encodable<__E> for FiniteBitSet<T> where
T: Encodable<__E>,
[src]
impl<T: FiniteBitSetTy, __E: Encoder> Encodable<__E> for FiniteBitSet<T> where
T: Encodable<__E>,
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<T> RefUnwindSafe for FiniteBitSet<T> where
T: RefUnwindSafe,
impl<T> Send for FiniteBitSet<T> where
T: Send,
impl<T> Sync for FiniteBitSet<T> where
T: Sync,
impl<T> Unpin for FiniteBitSet<T> where
T: Unpin,
impl<T> UnwindSafe for FiniteBitSet<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.