Struct noodles::cram::record::tag::Key [−][src]
pub struct Key { /* fields omitted */ }
Expand description
A CRAM record tag key.
Implementations
Creates a CRAM record tag key.
Examples
use noodles_bam::record::data::field::value::Type;
use noodles_cram::record::tag::Key;
let key = Key::new([b'N', b'H'], Type::Int8);
Returns the tag.
Examples
use noodles_bam::record::data::field::value::Type;
use noodles_cram::record::tag::Key;
let key = Key::new([b'N', b'H'], Type::Int8);
assert_eq!(key.tag(), [b'N', b'H']);
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Key
impl UnwindSafe for Key
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.