[][src]Struct tantivy::fastfield::DeleteBitSet

pub struct DeleteBitSet { /* fields omitted */ }

Set of deleted DocIds.

Methods

impl DeleteBitSet[src]

pub fn open(data: ReadOnlySource) -> DeleteBitSet[src]

Opens a delete bitset given its data source.

pub fn is_alive(&self, doc: DocId) -> bool[src]

Returns true iff the document is still "alive". In other words, if it has not been deleted.

pub fn is_deleted(&self, doc: DocId) -> bool[src]

Returns true iff the document has been marked as deleted.

pub fn space_usage(&self) -> ByteCount[src]

Summarize total space usage of this bitset.

Trait Implementations

impl HasLen for DeleteBitSet[src]

impl Clone for DeleteBitSet[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Fruit for T where
    T: Send + Downcast
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]