Function rust_htslib::htslib::bcf_get_fmt_id [] [src]

pub unsafe extern "C" fn bcf_get_fmt_id(
    line: *mut bcf1_t,
    id: c_int
) -> *mut bcf_fmt_t

bcf_get_*_id() - returns pointer to FORMAT/INFO field data given the header index instead of the string ID @line: VCF line obtained from vcf_parse1 @id: The header index for the tag, obtained from bcf_hdr_id2int()

Returns bcf_fmt_t* / bcf_info_t*. These functions do not check if the index is valid as their goal is to avoid the header lookup.