[][src]Enum bio_types::alignment::AlignmentMode

pub enum AlignmentMode {
    Local,
    Semiglobal,
    Global,
    Custom,
}

The modes of alignment supported by the aligner include standard modes such as Global, Semi-Global and Local alignment. In addition to this, user can also invoke the custom mode. In the custom mode, users can explicitly specify the clipping penalties for prefix and suffix of strings 'x' and 'y' independently. Under the hood the standard modes are implemented as special cases of the custom mode with the clipping penalties appropriately set.

The default alignment mode is Global.

Variants

Local
Semiglobal
Global
Custom

Trait Implementations

impl Clone for AlignmentMode[src]

impl Copy for AlignmentMode[src]

impl Debug for AlignmentMode[src]

impl Default for AlignmentMode[src]

impl<'de> Deserialize<'de> for AlignmentMode[src]

impl Eq for AlignmentMode[src]

impl PartialEq<AlignmentMode> for AlignmentMode[src]

impl Serialize for AlignmentMode[src]

impl StructuralEq for AlignmentMode[src]

impl StructuralPartialEq for AlignmentMode[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.