Struct noodles_vcf::header::meta::Meta [−][src]
pub struct Meta { /* fields omitted */ }
Expand description
A VCF header meta record (META
).
Implementations
Creates a VCF header meta record.
Examples
use noodles_vcf::header::Meta;
let meta = Meta::new(
String::from("Assay"),
vec![String::from("WholeGenome"), String::from("Exome")],
);
Returns the ID of the meta record.
Examples
use noodles_vcf::header::Meta;
let meta = Meta::new(
String::from("Assay"),
vec![String::from("WholeGenome"), String::from("Exome")],
);
assert_eq!(meta.id(), "Assay");
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Meta
impl UnwindSafe for Meta
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.