Struct noodles_vcf::header::parser::Parser
source · pub struct Parser { /* private fields */ }
Expand description
A VCF header parser.
Implementations§
source§impl Parser
impl Parser
sourcepub fn parse_partial(&mut self, src: &[u8]) -> Result<Entry<'_>, ParseError>
pub fn parse_partial(&mut self, src: &[u8]) -> Result<Entry<'_>, ParseError>
Parses and adds a raw record to the header.
sourcepub fn finish(self) -> Result<Header, ParseError>
pub fn finish(self) -> Result<Header, ParseError>
Builds the VCF header.
Trait Implementations§
source§impl PartialEq for Parser
impl PartialEq for Parser
impl Eq for Parser
impl StructuralPartialEq for Parser
Auto Trait Implementations§
impl Freeze for Parser
impl RefUnwindSafe for Parser
impl Send for Parser
impl Sync for Parser
impl Unpin for Parser
impl UnwindSafe for Parser
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.