Enum noodles::tabix::index::header::Format [−][src]
pub enum Format {
Generic(CoordinateSystem),
Sam,
Vcf,
}
Expand description
A tabix index format.
Variants
Generic(CoordinateSystem)
A generic format with a defined coordinate system.
Tuple Fields of Generic
The SAM (Sequence Alignment/Map) format.
The VCF (Variant Call Format) format.
Implementations
Returns the coordinate system of the format.
Examples
use noodles_tabix::index::header::{format::CoordinateSystem, Format};
let format = Format::Generic(CoordinateSystem::Bed);
assert_eq!(format.coordinate_system(), CoordinateSystem::Bed);
assert_eq!(Format::Sam.coordinate_system(), CoordinateSystem::Gff);
assert_eq!(Format::Vcf.coordinate_system(), CoordinateSystem::Gff);
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Format
impl UnwindSafe for Format
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.