Struct 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.
Tuple Fields
0: T
Implementations
Returns the domain size of the bitset.
Trait Implementations
impl<T: FiniteBitSetTy, __D: Decoder> Decodable<__D> for FiniteBitSet<T> where
T: Decodable<__D>,
impl<T: FiniteBitSetTy, __D: Decoder> Decodable<__D> for FiniteBitSet<T> where
T: Decodable<__D>,
impl<T: FiniteBitSetTy, __E: Encoder> Encodable<__E> for FiniteBitSet<T> where
T: Encodable<__E>,
impl<T: FiniteBitSetTy, __E: Encoder> Encodable<__E> for FiniteBitSet<T> where
T: Encodable<__E>,
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
Layout
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.