noodles_vcf::variant::record

Trait 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§