Struct wavelet_matrix::WaveletMatrix
source · pub struct WaveletMatrix<I> { /* private fields */ }
Implementations§
source§impl<I: WmInt> WaveletMatrix<I>
impl<I: WmInt> WaveletMatrix<I>
pub fn count<R: WmIntRange<Int = I>>( &self, range: impl RangeBounds<usize>, value: R, ) -> usize
pub fn count_3way<R: WmIntRange<Int = I>>( &self, range: impl RangeBounds<usize>, value: R, ) -> Count3wayResult
pub fn quantile(&self, range: impl RangeBounds<usize>, n: usize) -> Option<I>
Trait Implementations§
Auto Trait Implementations§
impl<I> Freeze for WaveletMatrix<I>
impl<I> RefUnwindSafe for WaveletMatrix<I>where
I: RefUnwindSafe,
impl<I> Send for WaveletMatrix<I>where
I: Send,
impl<I> Sync for WaveletMatrix<I>where
I: Sync,
impl<I> Unpin for WaveletMatrix<I>where
I: Unpin,
impl<I> UnwindSafe for WaveletMatrix<I>where
I: 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