pub trait Indexed: Inner {
    // Required methods
    fn idx(&self) -> Option<usize>;
    fn idx_mut(&mut self) -> &mut Option<usize>;
}
Expand description

An inner VCF header map value with an IDX field.

Required Methods§

source

fn idx(&self) -> Option<usize>

Returns the index of the ID in the dictionary of strings.

source

fn idx_mut(&mut self) -> &mut Option<usize>

Returns a mutable reference to the index.

Implementors§