Enum noodles_gff::directive::Directive
source · pub enum Directive {
GffVersion(GffVersion),
SequenceRegion(SequenceRegion),
FeatureOntology(String),
AttributeOntology(String),
SourceOntology(String),
Species(String),
GenomeBuild(GenomeBuild),
ForwardReferencesAreResolved,
StartOfFasta,
Other(Other, Option<String>),
}
Expand description
A GFF directive.
This is also called a pragma or metadata.
Variants§
GffVersion(GffVersion)
The GFF version (gff-version
).
SequenceRegion(SequenceRegion)
A reference to a sequence segment (sequence-region
).
FeatureOntology(String)
The ontology used for the feature types (feature-ontology
).
AttributeOntology(String)
The ontology used for the attributes (attribute-ontology
).
SourceOntology(String)
The ontology used for the sources (source-ontology
).
Species(String)
The species the annotations apply to (species
).
GenomeBuild(GenomeBuild)
The genome build used for the start and end positions (genome-build
).
ForwardReferencesAreResolved
A marker indicating that all forward references to feature IDs have been resolved (#
).
StartOfFasta
A marker indicating the end of the records list and start of a bundled reference sequences
(FASTA
).
Other(Other, Option<String>)
A nonstandard directive.
Trait Implementations§
source§impl PartialEq for Directive
impl PartialEq for Directive
impl Eq for Directive
impl StructuralPartialEq for Directive
Auto Trait Implementations§
impl Freeze for Directive
impl RefUnwindSafe for Directive
impl Send for Directive
impl Sync for Directive
impl Unpin for Directive
impl UnwindSafe for Directive
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.