pub struct Alignment<'a, M, T> where
    M: Measure<T>,
    T: Eq
{ /* private fields */ }
Expand description

Edit distance cost matrix.

Implementations

Get the edit distance.

Return the script of edit operations to rewrite the source sequence to the target sequence. If there are multiple possible edit scripts, this method will return one of the possible edit scripts. If you want to retrieve all possible edit scripts, use the edit_scripts method.

Return all the edit scripts to rewrite the source sequence to the target sequence. If you want just one edit script, use the edit_script method instead.

Get the cost matrix.

Get the sequence pair associated with this cost matrix.

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.