Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

API Reference

The complete, always-current type-level API reference is generated from the source by rustdoc and hosted on docs.rs:

👉 docs.rs/haystackfm

There you’ll find every public type, trait, and function with its signatures and doc comments, including:

  • FmIndexbuild_cpu, build_cpu_with, build, count, locate, to_bytes, from_bytes, the id/header accessors seq_headers, seq_header, seq_id, and the base accessors sequence, sequence_by_header.
  • BidirFmIndexbuild_cpu, build_cpu_with, find_mems, find_smems, the GPU variants, and the same id/header and base accessors.
  • SeqId — a reference’s stable 0-based id, reported by every query in place of its FASTA header. See Sequence ids vs. headers.
  • Mem / MemHit — result types for MEM/SMEM finding.
  • FmIndexConfig — construction knobs.
  • alphabet — the Alphabet trait, IupacDna, ExactDna, DnaSequence, and compatible_symbols.
  • gpuGpuContext, locate_batch_gpu, and the GPU MEM/SMEM functions (behind the gpu feature).

This guide covers the how and why; docs.rs is the exhaustive what.