Enum noodles::gff::Directive[][src]

pub enum Directive {
    GffVersion(GffVersion),
    SequenceRegion(SequenceRegion),
    FeatureOntology(String),
    AttributeOntology(String),
    SourceOntology(String),
    Species(String),
    GenomeBuild(GenomeBuild),
    ForwardReferencesAreResolved,
    StartOfFasta,
}
Expand description

A GFF directive.

This is also called a pragma or metadata.

Variants

GffVersion(GffVersion)

The GFF version (gff-version).

Tuple Fields of GffVersion

0: GffVersion
SequenceRegion(SequenceRegion)

A reference to a sequence segment (sequence-region).

Tuple Fields of SequenceRegion

0: SequenceRegion
FeatureOntology(String)

The ontology used for the feature types (feature-ontology).

Tuple Fields of FeatureOntology

0: String
AttributeOntology(String)

The ontology used for the attributes (attribute-ontology).

Tuple Fields of AttributeOntology

0: String
SourceOntology(String)

The ontology used for the sources (source-ontology).

Tuple Fields of SourceOntology

0: String
Species(String)

The species the annotations apply to (species).

Tuple Fields of Species

0: String
GenomeBuild(GenomeBuild)

The genome build used for the start and end positions (genome-build).

Tuple Fields of GenomeBuild

0: GenomeBuild
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).

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.