noodles_vcf::header::record::value::map

Trait Indexed

Source
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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§