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§
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.