[−][src]Struct elias_fano::EliasFano
Methods
impl EliasFano
[src]
pub fn new(universe: u64, n: u64) -> EliasFano
[src]
pub fn compress<'a, I>(&mut self, elems: I) where
I: Iterator<Item = &'a u64>,
[src]
I: Iterator<Item = &'a u64>,
pub fn visit(&mut self, position: u64) -> Result<u64, OutOfBoundsError>
[src]
pub fn next(&mut self) -> Result<u64, OutOfBoundsError>
[src]
pub fn reset(&mut self)
[src]
pub fn position(&self) -> u64
[src]
pub fn value(&self) -> u64
[src]
pub fn bit_size(&self) -> usize
[src]
pub fn size(&self) -> u64
[src]
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,