Skip to main content

Crate mafft_types

Crate mafft_types 

Source
Expand description

Pure Rust equivalents of MAFFT’s core C data structures.

These types use idiomatic Rust (Vec, Option, enums) instead of raw pointers and linked lists.

Re-exports§

pub use fp::fmadd;
pub use fp::CONTRACTS_FMA;

Modules§

fp
Floating-point contraction policy: mirror the reference C build of the target you run on.

Structs§

AlignmentSegment
An aligned segment region.
GapPenalties
Gap penalty parameters.
HomologyRegion
A single local homology region between two sequences.
LocalHomologyTable
Table of pairwise local homology information.
RnaBasePair
An RNA base pair probability.
ScoringContext
The complete scoring context needed by alignment algorithms.
SegmentPair
A pair of segments from two groups being aligned.
Sequence
A named biological sequence.
SequenceSet
A collection of sequences to be aligned.

Enums§

ScoringModel
Which substitution matrix model to use.
SeqType
The type of biological sequences being aligned.

Type Aliases§

Complex64
Complex number type for FFT computation.