Enum bio::utils::Strand[][src]

pub enum Strand {
    Forward,
    Reverse,
    Unknown,
}

Strand information.

Variants

Methods

impl Strand
[src]

Returns a Strand enum representing the given char.

The mapping is as follows: * '+', 'f', or 'F' becomes Strand::Forward * '-', 'r', or 'R' becomes Strand::Reverse * '.', '?' becomes Strand::Unknown * Any other inputs will return an Err(StrandError::InvalidChar)

Trait Implementations

impl Debug for Strand
[src]

Formats the value using the given formatter. Read more

impl Clone for Strand
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Strand
[src]

impl PartialEq for Strand
[src]

Returns true if both are Forward or both are Reverse, otherwise returns false.

This method tests for !=.

Auto Trait Implementations

impl Send for Strand

impl Sync for Strand