Enum bio::alignment::AlignmentMode
source · pub enum AlignmentMode {
Local,
Semiglobal,
Global,
Custom,
}
Expand description
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
Trait Implementations
sourceimpl Clone for AlignmentMode
impl Clone for AlignmentMode
sourcefn clone(&self) -> AlignmentMode
fn clone(&self) -> AlignmentMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AlignmentMode
impl Debug for AlignmentMode
sourceimpl Default for AlignmentMode
impl Default for AlignmentMode
sourcefn default() -> AlignmentMode
fn default() -> AlignmentMode
Returns the “default value” for a type. Read more
sourceimpl PartialEq<AlignmentMode> for AlignmentMode
impl PartialEq<AlignmentMode> for AlignmentMode
sourcefn eq(&self, other: &AlignmentMode) -> bool
fn eq(&self, other: &AlignmentMode) -> bool
impl Copy for AlignmentMode
impl Eq for AlignmentMode
impl StructuralEq for AlignmentMode
impl StructuralPartialEq for AlignmentMode
Auto Trait Implementations
impl RefUnwindSafe for AlignmentMode
impl Send for AlignmentMode
impl Sync for AlignmentMode
impl Unpin for AlignmentMode
impl UnwindSafe for AlignmentMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more