Struct rust_htslib::bcf::record::Info
source · pub struct Info<'a> { /* private fields */ }
Expand description
Info tag representation.
Implementations§
source§impl<'a> Info<'a>
impl<'a> Info<'a>
sourcepub fn integer(&mut self) -> Result<Option<&'a [i32]>, InfoReadError>
pub fn integer(&mut self) -> Result<Option<&'a [i32]>, InfoReadError>
Get integers from tag. None
if tag not present in record.
Import bcf::record::Numeric
for missing value handling.
sourcepub fn float(&mut self) -> Result<Option<&'a [f32]>, InfoReadError>
pub fn float(&mut self) -> Result<Option<&'a [f32]>, InfoReadError>
Get floats from tag. None
if tag not present in record.
Import bcf::record::Numeric
for missing value handling.
sourcepub fn flag(&mut self) -> Result<bool, InfoReadError>
pub fn flag(&mut self) -> Result<bool, InfoReadError>
Get flags from tag. false
if not set.