[][src]Struct succinct::BinSearchSelect

pub struct BinSearchSelect<Rank> { /* fields omitted */ }

Performs a select query by binary searching rank queries.

Methods

impl<Rank: RankSupport> BinSearchSelect<Rank>[src]

Creates a new binary search select support based on a rank support.

pub fn new(rank_support: Rank) -> Self[src]

Creates a new binary search selection support given a rank support.

pub fn inner(&self) -> &Rank[src]

Borrows a reference to the underlying rank support.

pub fn into_inner(self) -> Rank[src]

Returns the underlying rank structure.

Trait Implementations

impl<Rank: SpaceUsage> SpaceUsage for BinSearchSelect<Rank>[src]

fn total_bytes(&self) -> usize[src]

Computes the size of the receiver in bytes. Read more

fn stack_bytes() -> usize[src]

Calculates the stack portion of the size of this type. Read more

impl<Rank: BitVec> BitVec for BinSearchSelect<Rank>[src]

type Block = Rank::Block

The underlying block type used to store the bits of the vector.

impl<Rank: RankSupport> RankSupport for BinSearchSelect<Rank>[src]

type Over = Rank::Over

The type of value to rank.

impl<Rank: BitRankSupport> BitRankSupport for BinSearchSelect<Rank>[src]

impl<Rank: BitRankSupport> Select1Support for BinSearchSelect<Rank>[src]

impl<Rank: BitRankSupport> Select0Support for BinSearchSelect<Rank>[src]

impl<Rank: RankSupport> SelectSupport for BinSearchSelect<Rank>[src]

type Over = Rank::Over

The type of value that we can search for.

Auto Trait Implementations

impl<Rank> Send for BinSearchSelect<Rank> where
    Rank: Send

impl<Rank> Unpin for BinSearchSelect<Rank> where
    Rank: Unpin

impl<Rank> Sync for BinSearchSelect<Rank> where
    Rank: Sync

impl<Rank> UnwindSafe for BinSearchSelect<Rank> where
    Rank: UnwindSafe

impl<Rank> RefUnwindSafe for BinSearchSelect<Rank> where
    Rank: RefUnwindSafe

Blanket Implementations

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

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

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]