pub trait ToCigarOps {
// Required method
fn to_cigar_ops(&self) -> Result<CigarOps>;
}Expand description
Converts a format-specific CIGAR representation into the common CigarOps type.
Implemented for:
noodles::bam::record::Cigar— binary-encoded BAM CIGAR.dynnoodles::sam::alignment::record::cigar::Cigar— SAM text CIGAR.&str— raw PAFcg:Z:tag strings (e.g."3M5I4M").
Required Methods§
Sourcefn to_cigar_ops(&self) -> Result<CigarOps>
fn to_cigar_ops(&self) -> Result<CigarOps>
Parse and return the CIGAR as a CigarOps vector.
Returns an error if any operation character is unrecognised or a length
field cannot be parsed as a usize.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".