pub struct Record { /* private fields */ }
Expand description

A FASTA index record.

Implementations

Creates a FASTA index record.

👎Deprecated since 0.3.0: Use name instead.

Returns the reference sequence name.

Returns the record name.

Returns the length of the sequence.

Returns the offset from the start.

Returns the number of bases in a line.

Returns the number of characters in a line.

Trait Implementations

Formats the value using the given formatter. Read more
Returns the “default value” for a type. 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 !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.