Trait noodles_vcf::variant::record::ReferenceBases

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

Variant record reference bases.

Required Methods§

source

fn is_empty(&self) -> bool

Returns whether there are any reference bases.

source

fn len(&self) -> usize

Returns the number of reference bases.

source

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

Returns an iterator over reference bases.

Trait Implementations§

source§

impl ReferenceBases for Box<dyn ReferenceBases + '_>

source§

fn is_empty(&self) -> bool

Returns whether there are any reference bases.
source§

fn len(&self) -> usize

Returns the number of reference bases.
source§

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

Returns an iterator over reference bases.

Implementations on Foreign Types§

source§

impl ReferenceBases for &str

source§

fn is_empty(&self) -> bool

source§

fn len(&self) -> usize

source§

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

source§

impl ReferenceBases for Box<dyn ReferenceBases + '_>

source§

fn is_empty(&self) -> bool

source§

fn len(&self) -> usize

source§

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

Implementors§