pub trait AlignmentReader<'a> {
// Required methods
fn start(&self) -> (u32, u32);
fn get_file(&self) -> &'a BamFile;
fn next(
&self,
buf: *mut bam1_t,
) -> Result<Option<Alignment<'a>>, AlignmentError>;
// Provided method
fn into_alignment_iter(self) -> AlignmentIter<'a, Self> ⓘ
where Self: Sized { ... }
}