Module gfa::optfields[][src]

Structs

OptField

An optional field a la SAM. Identified by its tag, which is any two characters matching [A-Za-z][A-Za-z0-9].

Enums

OptFieldVal

enum for representing each of the SAM optional field types. The B type, which denotes either an integer or float array, is split in two variants, and they ignore the size modifiers in the spec, instead always holding i64 or f32.

Traits

OptFields

The OptFields trait describes how to parse, store, and query optional fields. Each of the GFA line types and the GFA struct itself are generic over the optional fields, so the choice of OptFields implementor can impact memory usage, which optional fields are parsed, and possibly more in the future

Type Definitions

NoOptionalFields
OptionalFields

These type aliases are useful for configuring the parsers, as the type of the optional field container must be given when creating a GFAParser or GFA object.