noodles_vcf/header/record/value/map/format/
tag.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::header::record::value::map;

pub(crate) type Standard = map::tag::TypedDescribedIndexed;

/// A VCF header format map tag.
pub type Tag = map::tag::Tag<Standard>;

// For some reason, using the `Tag` type alias produces a `nontrivial_structural_match` warning
// when pattern matching, so it's avoided here.
pub(crate) const ID: Tag = map::tag::Tag::Standard(Standard::Id);
pub(crate) const NUMBER: Tag = map::tag::Tag::Standard(Standard::Number);
pub(crate) const TYPE: Tag = map::tag::Tag::Standard(Standard::Type);
pub(crate) const DESCRIPTION: Tag = map::tag::Tag::Standard(Standard::Description);
pub(crate) const IDX: Tag = map::tag::Tag::Standard(Standard::Idx);