fm-index 0.3.1

FM index and its variant implementations for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
/// Access the heap size of the structure.
///
/// This can be useful if you want to fine-tune the memory usage of your
/// application.
pub(crate) trait HeapSize {
    /// The size of the data used by this structure on the heap, in bytes.
    ///
    /// This does not include non-used pre-allocated space.
    fn heap_size(&self) -> usize;
}