pub enum Members {
One {
vouched: bool,
},
Bitmap(Vec<bool>),
List {
live: u64,
ranks: Vec<u64>,
},
}Expand description
A section’s members.
Variants§
One
A collection of one member: whether it is vouched for.
Bitmap(Vec<bool>)
A templated collection’s bitmap: one bit for each live member, in key order.
List
A templated collection’s list: its live count, and the ranks vouched for, ascending.
Implementations§
Source§impl Members
impl Members
Sourcepub fn templated(live: u64, vouched: impl IntoIterator<Item = u64>) -> Members
pub fn templated(live: u64, vouched: impl IntoIterator<Item = u64>) -> Members
A templated collection’s members as a writer writes them: the list
only where it is shorter than the bitmap (core §7.5’s MUST). The
ranks are taken in any order, each once, below live.
Trait Implementations§
impl Eq for Members
impl StructuralPartialEq for Members
Auto Trait Implementations§
impl Forget for Members
impl Freeze for Members
impl Move for Members
impl RefUnwindSafe for Members
impl Send for Memberswhere
RawVecInner: Send,
impl Sync for Memberswhere
RawVecInner: Sync,
impl Unpin for Members
impl UnsafeUnpin for Memberswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<bool>: UnsafeUnpin,
PhantomData<u64>: UnsafeUnpin,
impl UnwindSafe for Memberswhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more