Struct tantivy_common::ReadOnlyBitSet
source · pub struct ReadOnlyBitSet { /* private fields */ }
Expand description
Serialized BitSet.
Implementations§
source§impl ReadOnlyBitSet
impl ReadOnlyBitSet
pub fn open(data: OwnedBytes) -> Self
sourcepub fn iter(&self) -> impl Iterator<Item = u32> + '_
pub fn iter(&self) -> impl Iterator<Item = u32> + '_
Iterate over the positions of the elements.
Trait Implementations§
source§impl Clone for ReadOnlyBitSet
impl Clone for ReadOnlyBitSet
source§fn clone(&self) -> ReadOnlyBitSet
fn clone(&self) -> ReadOnlyBitSet
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> From<&'a BitSet> for ReadOnlyBitSet
impl<'a> From<&'a BitSet> for ReadOnlyBitSet
source§fn from(bitset: &'a BitSet) -> ReadOnlyBitSet
fn from(bitset: &'a BitSet) -> ReadOnlyBitSet
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReadOnlyBitSet
impl !RefUnwindSafe for ReadOnlyBitSet
impl Send for ReadOnlyBitSet
impl Sync for ReadOnlyBitSet
impl Unpin for ReadOnlyBitSet
impl !UnwindSafe for ReadOnlyBitSet
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