Trait noodles_vcf::variant::record::AlternateBases

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

Variant record alternate bases.

Required Methods§

source

fn is_empty(&self) -> bool

Returns whether there are any alternate bases.

source

fn len(&self) -> usize

Returns the number of alternate bases.

source

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

Returns an iterator over alternate bases.

Trait Implementations§

source§

impl AlternateBases for Box<dyn AlternateBases + '_>

source§

fn is_empty(&self) -> bool

Returns whether there are any alternate bases.
source§

fn len(&self) -> usize

Returns the number of alternate bases.
source§

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

Returns an iterator over alternate bases.

Implementations on Foreign Types§

source§

impl AlternateBases for Box<dyn AlternateBases + '_>

source§

fn is_empty(&self) -> bool

source§

fn len(&self) -> usize

source§

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

Implementors§

source§

impl AlternateBases for &noodles_vcf::variant::record_buf::AlternateBases

source§

impl AlternateBases for noodles_vcf::variant::record_buf::AlternateBases

source§

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