akar-common 0.1.21

Shared types and utilities for the Akar embedded graph database
Documentation
# src/selection.rs

- SelectionVector · struct · L4-L7 — pub struct SelectionVector
- new · function · L10-L15 — pub fn new(capacity: usize) -> Self
- from_slice · function · L17-L22 — pub fn from_slice(indices: &[u32]) -> Self
- from_range · function · L24-L27 — pub fn from_range(len: usize) -> Self
- is_empty · function · L29-L31 — pub fn is_empty(&self) -> bool
- clear · function · L33-L36 — pub fn clear(&mut self)
- push · function · L38-L45 — pub fn push(&mut self, idx: u32)
- iter · function · L47-L52 — pub fn iter(&self) -> SelectionIter<'_>
- get · function · L54-L56 — pub fn get(&self, pos: usize) -> Option<u32>
- slice · function · L58-L61 — pub fn slice(&self, range: Range<usize>) -> &[u32]
- SelectionIter · struct · L64-L67 — pub struct SelectionIter<'a>
- Item · type · L70-L70 — type Item = u32;
- next · function · L72-L80 — fn next(&mut self) -> Option<Self::Item>
- size_hint · function · L82-L85 — fn size_hint(&self) -> (usize, Option<usize>)
- Item · type · L91-L91 — type Item = u32;
- IntoIter · type · L92-L92 — type IntoIter = SelectionIter<'a>;
- into_iter · function · L94-L96 — fn into_iter(self) -> Self::IntoIter