pub struct RSNarrow { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for RSNarrow
impl<'de> Deserialize<'de> for RSNarrow
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for RSNarrow
impl PartialEq for RSNarrow
source§impl RankBin for RSNarrow
impl RankBin for RSNarrow
source§fn rank1(&self, i: usize) -> Option<usize>
fn rank1(&self, i: usize) -> Option<usize>
Returns the number of ones in the indexed sequence up to
position
i
excluded.source§unsafe fn rank1_unchecked(&self, i: usize) -> usize
unsafe fn rank1_unchecked(&self, i: usize) -> usize
Returns the number of ones in the indexed sequence up to
position
i
excluded. None
if the position is out of bound. Read moresource§impl SelectBin for RSNarrow
impl SelectBin for RSNarrow
source§fn select1(&self, i: usize) -> Option<usize>
fn select1(&self, i: usize) -> Option<usize>
Returns the position of the
i+1
-th occurrence of a bit set to 1
.
Returns None
if there is no such position.source§unsafe fn select1_unchecked(&self, i: usize) -> usize
unsafe fn select1_unchecked(&self, i: usize) -> usize
source§impl SpaceUsage for RSNarrow
impl SpaceUsage for RSNarrow
source§fn space_usage_byte(&self) -> usize
fn space_usage_byte(&self) -> usize
Gives the space usage in bytes of the data structure.
source§fn space_usage_KiB(&self) -> f64
fn space_usage_KiB(&self) -> f64
Gives the space usage of the data structure in KiB.
source§fn space_usage_MiB(&self) -> f64
fn space_usage_MiB(&self) -> f64
Gives the space usage of the data structure in MiB.
source§fn space_usage_GiB(&self) -> f64
fn space_usage_GiB(&self) -> f64
Gives the space usage of the data structure in GiB.
impl Eq for RSNarrow
impl StructuralPartialEq for RSNarrow
Auto Trait Implementations§
impl Freeze for RSNarrow
impl RefUnwindSafe for RSNarrow
impl Send for RSNarrow
impl Sync for RSNarrow
impl Unpin for RSNarrow
impl UnwindSafe for RSNarrow
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)