Struct noodles_vcf::record::Record
source · pub struct Record(/* private fields */);
Expand description
A VCF record.
Implementations§
source§impl Record
impl Record
sourcepub fn reference_sequence_name(&self) -> &str
pub fn reference_sequence_name(&self) -> &str
Returns the reference sequence name.
sourcepub fn variant_start(&self) -> Option<Result<Position>>
pub fn variant_start(&self) -> Option<Result<Position>>
Returns the variant start position.
sourcepub fn reference_bases(&self) -> &str
pub fn reference_bases(&self) -> &str
Returns the reference bases.
sourcepub fn alternate_bases(&self) -> AlternateBases<'_>
pub fn alternate_bases(&self) -> AlternateBases<'_>
Returns the alternate bases.
sourcepub fn quality_score(&self) -> Option<Result<f32>>
pub fn quality_score(&self) -> Option<Result<f32>>
Returns the quality score.
Trait Implementations§
source§impl PartialEq for Record
impl PartialEq for Record
source§impl Record for Record
impl Record for Record
source§fn reference_sequence_name<'a, 'h: 'a>(
&'a self,
_: &'h Header,
) -> Result<&'a str>
fn reference_sequence_name<'a, 'h: 'a>( &'a self, _: &'h Header, ) -> Result<&'a str>
Returns the reference sequence name.
source§fn reference_bases(&self) -> Box<dyn ReferenceBases + '_>
fn reference_bases(&self) -> Box<dyn ReferenceBases + '_>
Returns the reference bases.
source§fn alternate_bases(&self) -> Box<dyn AlternateBases + '_>
fn alternate_bases(&self) -> Box<dyn AlternateBases + '_>
Returns the alternate bases.
impl Eq for Record
impl StructuralPartialEq for Record
Auto Trait Implementations§
impl Freeze for Record
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnwindSafe for Record
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.