Struct bam::header::HeaderEntry [−][src]
pub struct HeaderEntry { /* fields omitted */ }Expand description
A single header line.
You can create a new entry using header_line, ref_sequence and so on. After that you can modify line tags using push, remove and others.
However, be careful not to delete the required tag, as well as check the required tag format.
Implementations
Creates a new @HD header entry.
Creates a new @SQ header entry.
Creates a new @RG header entry.
Creates a new @PG header entry.
Returns record two-letter name of the line (such as HD or SQ).
Returns a tag with name if present. Takes O(n_tags).
Returns a mutable tag with name if present. Takes O(n_tags).
Pushes a tag to the end. Takes O(1).
Replaces tag value if present and returns previous value. If there is no tag
with the same name, pushes the new tag to the end. Takes O(n_tags).
Removes the tag, if present, and returns its value. Takes O(n_tags).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HeaderEntry
impl Send for HeaderEntry
impl Sync for HeaderEntry
impl Unpin for HeaderEntry
impl UnwindSafe for HeaderEntry
Blanket Implementations
Mutably borrows from an owned value. Read more
