Trait noodles_vcf::variant::record::Ids

source ·
pub trait Ids {
    // Required methods
    fn is_empty(&self) -> bool;
    fn len(&self) -> usize;
    fn iter(&self) -> Box<dyn Iterator<Item = &str> + '_>;
}
Expand description

Variant record IDs.

Required Methods§

source

fn is_empty(&self) -> bool

Returns whethere there are any IDs.

source

fn len(&self) -> usize

Returns the number of IDs.

source

fn iter(&self) -> Box<dyn Iterator<Item = &str> + '_>

Returns an iterator over IDs.

Trait Implementations§

source§

impl Ids for Box<dyn Ids + '_>

source§

fn is_empty(&self) -> bool

Returns whethere there are any IDs.
source§

fn len(&self) -> usize

Returns the number of IDs.
source§

fn iter(&self) -> Box<dyn Iterator<Item = &str> + '_>

Returns an iterator over IDs.

Implementations on Foreign Types§

source§

impl Ids for Box<dyn Ids + '_>

source§

fn is_empty(&self) -> bool

source§

fn len(&self) -> usize

source§

fn iter(&self) -> Box<dyn Iterator<Item = &str> + '_>

Implementors§

source§

impl Ids for &noodles_vcf::variant::record_buf::ids::Ids

source§

impl Ids for noodles_vcf::variant::record_buf::ids::Ids

source§

impl<'a> Ids for noodles_vcf::record::Ids<'a>