Struct bio::io::gff::Record
[−]
[src]
pub struct Record { /* fields omitted */ }
A GFF record
Methods
impl Record
[src]
fn new() -> Self
Create a new GFF record.
fn seqname(&self) -> &str
Sequence name of the feature.
fn source(&self) -> &str
Source of the feature.
fn feature_type(&self) -> &str
Type of the feature.
fn start(&self) -> &u64
Start position of feature (1-based).
fn end(&self) -> &u64
End position of feature (1-based, not included).
fn score(&self) -> Option<u64>
Score of feature
fn strand(&self) -> Option<Strand>
Strand of the feature.
fn frame(&self) -> &str
Frame of the feature.
fn attributes(&self) -> &HashMap<String, String>
Attribute of feature
fn seqname_mut(&mut self) -> &mut String
Get mutable reference on seqname of feature.
fn source_mut(&mut self) -> &mut String
Get mutable reference on source of feature.
fn feature_type_mut(&mut self) -> &mut String
Get mutable reference on type of feature.
fn start_mut(&mut self) -> &mut u64
Get mutable reference on start of feature.
fn end_mut(&mut self) -> &mut u64
Get mutable reference on end of feature.
fn score_mut(&mut self) -> &mut String
Get mutable reference on score of feature.
fn strand_mut(&mut self) -> &mut String
Get mutable reference on strand of feature.
fn attributes_mut(&mut self) -> &mut HashMap<String, String>
Get mutable reference on attributes of feature.